Code: Select all
sub BS()
VAR weapon='0x13FE'
while not uo.injournal('stop')
uo.findtype(weapon)
if uo.findcount() > 20
uo.waittargetobject('finditem')
wait(500) <------Error in this line
uo.sayu('sell all')
endif
wend
endsub
parse error. в чем ошибка?