Yoko
http://forum.yoko.com.ua/

Help is there a script for auto looting MULTI corpse?
http://forum.yoko.com.ua/viewtopic.php?f=17&t=13817
Page 1 of 1

Author:  fantasticpow [ 2008-07-26 04:55:08 ]
Post subject:  Help is there a script for auto looting MULTI corpse?

I'm looking if theres a script or command to auto loot multiple corpses?

maybe something like this


sub All corpse opened()
UO.FindType('0x0EED',"-1",'allcorpse')
If UO.FindCount() > 0 then
repeat
UO.Grab(0, "finditem")
UO.FindType('0x0EED',"-1",'allcorpse')
until UO.FindCount() == 0
wait(500)
UO.Print(' You have ' + Str( UO.Count('0x0EED','0x0000') ) + ' Gold' )
EndIf
end sub

Author:  Destruction [ 2008-07-28 07:21:07 ]
Post subject: 

Code:
var corpse
uo.findtype( "0x2006", "-1", "ground" )
while uo.findcount()
    corpse = uo.getSerial( "finditem" )
    uo.findtype( "0x0EED", "-1", corpse )
    while uo.findcount()
       
        uo.findtype( "0x0EED", "-1", corpse )
    wend
    uo.findtype( "0x2006", "-1", "ground" )
wend

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/