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