Page 1 of 1

Help is there a script for auto looting MULTI corpse?

Posted: 2008-07-26 04:55:08
by fantasticpow
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

Posted: 2008-07-28 07:21:07
by Destruction

Code: Select all

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