Code: Select all
uo.findtype(ItemType,ItemColor,'backpack')
if uo.findcount()<=0 then
uo.findtype(ItemType,ItemColor,'backpack')
endif
if uo.findcount()>0 then
***
Нашел такой кусок кода. Вопрос: защема?

Moderators: Murderator+, Murderator
Code: Select all
uo.findtype(ItemType,ItemColor,'backpack')
if uo.findcount()<=0 then
uo.findtype(ItemType,ItemColor,'backpack')
endif
if uo.findcount()>0 then
***
Code: Select all
uo.findtype(IngotType,IngotColor,2)
while (uo.findcount()>0) or (uo.GetQuantity('finditem')>=0)