нашел вот скриптег:
sub ogorod()
uo.DeleteJournal()
uo.filterspeech('add','You put the onions')
uo.filterspeech('add','You put the Nightshade')
uo.filterspeech('add','You put the Garlic')
uo.filterspeech('add','You put the bales of cotton')
uo.filterspeech('add','You put the Ginseng')
uo.filterspeech('add','You put the wheat sheaves')
dim t[7]
t[1]='0x0C4F' ;хлопок
t[2]='0x18DF' ;мандрагора
t[3]='0x18E5' ;HC
t[4]='0x0C6F' ;лук
t[5]='0x18E1' ;чеснок
t[6]='0x18E9' ;жень-шень
t[7]='0x0C5A' ;сено
uo.set('finddistance','3')
uo.findtype(0x1EBD,0,'ground')
if UO.findcount()>0 then
uo.findtype(0x1EBD,0,'ground')
uo.moveitem('finditem','all','ground')
wait(500)
uo.print('CЕНО')
end if
uo.findtype(0x0DF9,0,'ground')
if UO.findcount()>0 then
uo.findtype(0x0DF9,0,'ground')
uo.moveitem('finditem','all','ground')
wait(500)
uo.print('хлопок чтоль...')
end if
var i,zz
uo.ignorereset()
for i = 1 to 7
uo.findtype(t[i],0,'ground')
while UO.findcount()>0
uo.findtype(t[i],0,'ground')
UO.UseObject('finditem')
uo.ignore('finditem')
wend
next
#uo.textprint("X[00]=" + str(uo.getX()))
#uo.textprint("Y[00]=" + str(uo.getY()))
end sub
как сделать, чтобы морковь тоже собирал? пробовал менять dim t[8] и добавлял t[8]='0x0C77', но морковь не рвал