Page 1 of 1

[UOSteam] Alamiester's Easy GoldToBank v0.1

Posted: Thu May 03, 2018 2:54 pm
by Alamiester
so ive been selling all my honey and wax lately. and i just realized how tedious it is to move gold from your mule to your bank, especially if you have 15000 honey and wax. i saw this script on another forum, but i made it better by unloading your pack animal too. enjoy!

Code: Select all

//===========================================================
//=------------Alamiester's Easy GoldToBank V0.1------------=
//=------------------------03May2018------------------------=
//=---This macro will move all your gold in your backpack---=
//=------------and in your mount to your bankbox.-----------=
//===========================================================
@clearjournal
@useobject! 'self'
pause 600
//@unsetalias 'mount'
if not @findalias 'mount'
  promptalias 'mount'
endif
pause 600
@clickobject! 'mount'
waitforcontext 0xc1c53 11 500
pause 500
if not @injournal 'cannot hold more' "system"
  while @findtype '0xeed' 'any' 'mount' 'any'
    msg 'bank'
    pause 600
    sysmsg '***Moving Gold.***' 52
    @moveitem 'found' 'bank' 'any'
  endwhile
  if not @findtype '0xeed' 'any' 'mount' 'any'
    while @findtype '0xeed' 'any' 'backpack' 'any' '3'
      msg 'bank'
      pause 600
      sysmsg '***Moving Gold.***' 52
      @moveitem! 'found' 'bank' 'any'
    endwhile
    @useobject! 'mount'
    sysmsg 'All done moving Gold!' 33
  else
    @useobject! 'mount'
    sysmsg 'No Gold Found!' 33
    stop
  endif
else
  @useobject! 'mount'
  sysmsg 'All done moving Gold!' 33
  stop
endif