ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: seeriusly on November 24, 2010, 02:37:49 PM
-
Trying to establish fail safe for my script.
Would this be sufficient enough to make sure bank box opens, and if it doesn't to recall to next rune?
sub drop_loot_at_bank
repeat
set !Currentrune2 !Currentrune2 + 1
gosub recalltobank
wait 40
msg bank$
wait 20
until #contsize = 180_240 ;<<< bank box gump size
gosub droploot
return
Thank you for your time!
-
Yea that's pretty nice actually, but what about if you go over your rune count? You only have so many bank runes I'm sure... :) Are you setting your !Currentrune2 count back to zero/one after you successfully drop at bank or reach your max bank runes?
-
Thankyou. and yes... that was just a little code to give the jist of it... I add this:
if !Currentrune2 = 17
set !Currentrune2 0
to reset the runecount, in a different part of the script. 8)
I actually dont want to use the first part like that, because i wouldn't want to be trying to open the bank on the shore in middle of nowhere. incase someone seen it.