Code: Select all
SUB main()
VAR run, chest, pick, m, z, x, y;
run = '0x411EFDEF'
chest = '0x40C9229E'
pick = '0x7D1870C1'
x = 769
y = 1675
z = 0
whail (uo.weight < 360)
uo.useobject('0x7D1870C1')
uo.waittargettile(1342,x,y,z)
whaile (uo.LastMessage("There is no ore here tomaine"))
uo.wait (7000)
if y - x == 906 THEN
x = x+1
uo.useobject('0x7D1870C1')
uo.waittargettile(1342,x,y,z)
ELSE
y = y+1
uo.useobject('0x7D1870C1')
uo.waittargettile(1342,x,y,z)
ENDIF
uo.wait (100)
WEND
uo.wait (uo.LastMessage("There is no ore here tomaine"))
uo.wait (7000)
WEND
recall()
ENDSUB
SUB recall()
uo.Recall('0x411EFDEF', 0002)
uo.unsetreceivingcontainer()
if uo.findtype(0x19b9) THEN
uo.moveitem('0x19b9',0,'chest')
wait (100)
ENDIF
uo.recall("run", 0004)
main()
ENDSUB
выдаёт Lain9 - function not found - whail
Что не так??
И мб кто нить допишет чтоб он ещё мог пару шажков сделать??
з.ы. эт мой первый скрипт, инжу установил ток сёдня, так что не сильно смейтесь.