Цитата
sub sacLoot()
var i,n
Dim Loot[1]
Loot[1]=0x0EED; gold
i = 500
FOR n=1 TO 1
uo.findtype(Loot[n],"-1","lastcontainer")
if uo.findcount() > 0 then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround("0x2006") > 0 then
wait(100)
wait(100)
uo.say(".sac")
uo.waittargetground("0x2006")
i = i+1
endif
wend
end sub
end sub
var i,n
Dim Loot[1]
Loot[1]=0x0EED; gold
i = 500
FOR n=1 TO 1
uo.findtype(Loot[n],"-1","lastcontainer")
if uo.findcount() > 0 then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
next
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround("0x2006") > 0 then
wait(100)
wait(100)
uo.say(".sac")
uo.waittargetground("0x2006")
i = i+1
endif
wend
end sub
end sub