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
Помогите Доделать Скрипт!
Moderators: Murderator+, Murderator
Помогите Доделать Скрипт!
Начел играть на пвп серваке, а там команда .sac и вот написал скрипт чтобы он разрезал труп с командой .sac но вот некак немогу сделать чтобы он ешё с него сначала денги забирал, а потом резал кто может помочь заранее спасибо! Совместил два скрипта но всёравно денги не лутит! Вот скриптуля!
-
- Posts: 174
- Joined: 2008-12-13 00:00:15
sub sacLoot()
var i
i = 500
uo.findtype('0x0EED',-1,'lastcorpse')
if uo.findcount() then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround(corps) > 0 then
wait(100)
uo.say(".sac")
uo.waittargetground(corps)
i = i+1
endif
wend
end sub
var i
i = 500
uo.findtype('0x0EED',-1,'lastcorpse')
if uo.findcount() then
UO.grab(0, "finditem")
uo.print("Found "+str(uo.findcount()))
Wait(i)
END if
var corps=0x2006
UO.print(".sac script by spy")
wait(100)
while (i < 10000)
if UO.CountGround(corps) > 0 then
wait(100)
uo.say(".sac")
uo.waittargetground(corps)
i = i+1
endif
wend
end sub
Last edited by Successful on 2009-03-07 11:31:55, edited 3 times in total.