ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth scripts => Topic started by: unisharp on December 21, 2020, 06:08:29 AM
-
_bagSending = 0
if Weight() <= MaxWeight(): # if we're at max weight or over
# find bags
if FindTypesArrayEx([0x0E76], [0xFFFF], [Backpack()], True):
_bags = GetFindedList()
for _bag in _bags:
# make sure they are bags of sending
if 'sending' in GetTooltip(_bag).split('|')[0]:
AddToSystemJournal("Found bag of sending...")
_bagSending = _bag
else:
AddToSystemJournal("No bags found...")
exit() # no bags at all found
# if we made it this far, we have our bag of sending, now look for gold
if FindTypeEx(0x0EED, 0xFFFF, Backpack(), True):
_gold = GetFoundList()
UseObject(_bagSending)
Wait(1500)
WaitTargetObject(_gold[0])
else:
AddToSystemJournal("Can't find gold...")
-
is this script looting gold too ? Can i use it as separate script or need to paste to fandancer script ?
-
is this script looting gold too ? Can i use it as separate script or need to paste to fandancer script ?
Added to dancer dojo example
-
ok, thanks for good work ! 8)