Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
by Jaseowns UO Outlands Requirements: To get your bank ID, record a script - drag an item from your bag or bank and drop it in the bank. it will look something like this: lift 0x47F75007 1 drop…
Organizing
New player bank drop off and restock script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/8e46ee43-372f-46b9-a090-ef825194070c for latest2# Automation by Jaseowns3## Script: New player bank drop off and restock script4## Created by: Jaseowns#66945#############################################6 7# New player bank drop off and restock script by Jaseowns8# UO Outlands9###########10## Requirements:11# To get your bank ID, record a script - drag an item from12# your bag or bank and drop it in the bank.13# it will look something like this:14 # lift 0x47F75007 115 # drop 0x412064AF 96 109 016# Take the "drop value" and place it on line 1317###18 19@setvar! myBank 0x412064AF20 21###########22## Do you want to restock regs back to your character?23###24@setvar! minimumToRestockOnAids 5025@setvar! minimumToRestockOnRegs 026 27###########28## General Variables29###30@setvar! globalTimeout 65031 32 33######################################34#### Should not need to edit beyond this35######################################36say "Jaseowns Bank" 8837wait globalTimeout38 39if not find myBank40 overhead "Cannot find your bank box" 3441 sysmsg "Cannot find your bank box" 3442 sysmsg "Make sure you update myBank variable" 8843 stop44endif45 46if not varexist myRegContainer or not find myRegContainer myBank47 overhead "Select your reg bag to put away regs"48 @setvar myRegContainer49endif50 51@clearignore 52while findtype 29104 myBank -1 -1 2 as tome53 menu tome 054 wait 20055 @ignore tome56endwhile57 58if minimumToRestockOnAids > 059 @clearignore 60 while findtype 3617 backpack as item61 lift item 6000062 drop myBank -1 -1 -163 wait globalTimeout64 @ignore item65 endwhile 66 67 @clearignore 68 while not findtype 3617 backpack and findtype 3617 myBank as item69 lift item minimumToRestockOnAids70 drop backpack -1 -1 -171 wait globalTimeout72 endwhile73endif74 75// gold/leather76while findtype 3821|4225 backpack as item77 lift item 6000078 drop myBank -1 -1 -179 wait globalTimeout80 @ignore item81endwhile 82 83@setvar! wearingSatchel 084 85if findtype "reagent satchel" self as satchel86 if find satchel backpack87 // do nothing88 else89 @setvar! wearingSatchel satchel90 lift wearingSatchel91 drop backpack92 wait globalTimeout93 endif94endif95 96# Put regs away97while findtype 3962|3963|3974|3972|3973|3976|3981|3980 backpack as item98 lift item 6000099 drop myRegContainer -1 -1 -1100 wait globalTimeout101 @ignore item102endwhile103 104# Restock regs105if minimumToRestockOnRegs > 0106 107 while not findtype 3980 backpack and findtype 3980 myRegContainer as item108 lift item minimumToRestockOnRegs109 drop backpack -1 -1 -1110 wait globalTimeout111 endwhile112 113 114 while not findtype 3981 backpack and findtype 3981 myRegContainer as item115 lift item minimumToRestockOnRegs116 drop backpack -1 -1 -1117 wait globalTimeout118 endwhile119 120 while not findtype 3976 backpack and findtype 3976 myRegContainer as item121 lift item minimumToRestockOnRegs122 drop backpack -1 -1 -1123 wait globalTimeout124 endwhile125 126 while not findtype 3973 backpack and findtype 3973 myRegContainer as item127 lift item minimumToRestockOnRegs128 drop backpack -1 -1 -1129 wait globalTimeout130 endwhile131 132 while not findtype 3972 backpack and findtype 3972 myRegContainer as item133 lift item minimumToRestockOnRegs134 drop backpack -1 -1 -1135 wait globalTimeout136 endwhile137 138 while not findtype 3974 backpack and findtype 3974 myRegContainer as item139 lift item minimumToRestockOnRegs140 drop backpack -1 -1 -1141 wait globalTimeout142 endwhile143 144 while not findtype 3963 backpack and findtype 3963 myRegContainer as item145 lift item minimumToRestockOnRegs146 drop backpack -1 -1 -1147 wait globalTimeout148 endwhile149 150 while not findtype 3962 backpack and findtype 3962 myRegContainer as item151 lift item minimumToRestockOnRegs152 drop backpack -1 -1 -1153 wait globalTimeout154 endwhile155 156endif157 158# Put regs into satchel159if findtype "reagent satchel" self as satchel160 menu satchel 0 161endif162 163 164# Random loot to put away165while findtype 24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|7170|7033|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|7031|5207|5056|5085|3763|5129|5187|3721|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3903|12686 backpack as item166 getlabel item checkForBlessed167 if "blessed" in checkForBlessed or "aspect" in checkForBlessed168 overhead "Ignoring {{checkForBlessed}}" 34169 @ignore item170 else171 lift item 60000172 drop myBank -1 -1 -1173 wait globalTimeout174 @ignore item175 endif176endwhile177@clearignore 178 179overhead "All done!"