Skip to content
Outlands Hub

Razor script

Split Bandage & Stack Red Pouches

by dnd20 · 271 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Healing
Split Bandage Stack Red Pouches.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0640782f-7e86-4fce-aefc-2d77586e583d for latest2# Automation by Jaseowns3## Script: Split Bandage & Stack Red Pouches4## Created by: dnd20#05#############################################6 7overhead "Sorting your inventory....."8 9@setvar! globalTimeout 65010 11if AutomaticallyActivateAspect = 112    if AspectMasteryWeapon = 113        if AspectWeaponSelection = 114            say "[AspectWeapon Air"15            wait globalTimeout16        elseif AspectWeaponSelection = 217            say "[AspectWeapon Arcane"18            wait globalTimeout19        elseif AspectWeaponSelection = 320            say "[AspectWeapon Artisian"21            wait globalTimeout22        elseif AspectWeaponSelection = 423            say "[AspectWeapon Blood"24            wait globalTimeout        25        elseif AspectWeaponSelection = 526            say "[AspectWeapon Command"27            wait globalTimeout28        elseif AspectWeaponSelection = 629            say "[AspectWeapon Death"30            wait globalTimeout31        elseif AspectWeaponSelection = 732            say "[AspectWeapon Discipline"33            wait globalTimeout34        elseif AspectWeaponSelection = 835            say "[AspectWeapon Earth"36            wait globalTimeout37        elseif AspectWeaponSelection = 938            say "[AspectWeapon Eldrich"39            wait globalTimeout40        elseif AspectWeaponSelection = 1041            say "[AspectWeapon Fire"42            wait globalTimeout43        elseif AspectWeaponSelection = 1144            say "[AspectWeapon Fortune"45            wait globalTimeout46        elseif AspectWeaponSelection = 1247            say "[AspectWeapon Frost"48            wait globalTimeout49        elseif AspectWeaponSelection = 1350            say "[AspectWeapon Gadget"51            wait globalTimeout52        elseif AspectWeaponSelection = 1453            say "[AspectWeapon Harvest"54            wait globalTimeout55        elseif AspectWeaponSelection = 1556            say "[AspectWeapon Holy"57            wait globalTimeout58        elseif AspectWeaponSelection = 1659            say "[AspectWeapon Lightning"60            wait globalTimeout61        elseif AspectWeaponSelection = 1762            say "[AspectWeapon Lyric"63            wait globalTimeout64        elseif AspectWeaponSelection = 1865            say "[AspectWeapon Madness"66            wait globalTimeout67        elseif AspectWeaponSelection = 1968            say "[AspectWeapon Poison"69            wait globalTimeout70        elseif AspectWeaponSelection = 2071            say "[AspectWeapon Shadow"72            wait globalTimeout73        elseif AspectWeaponSelection = 2174            say "[AspectWeapon Void"75            wait globalTimeout76        elseif AspectWeaponSelection = 2277            say "[AspectWeapon War"78            wait globalTimeout79        elseif AspectWeaponSelection = 2380            say "[AspectWeapon Water"81            wait globalTimeout82        endif        83    endif84    if AspectMasteryBook = 185        if AspectMasteryBook = 186            say "[AspectSpellbook Air"87            wait globalTimeout88        elseif AspectBookSelectioin = 289            say "[AspectSpellbook Arcane"90            wait globalTimeout91        elseif AspectBookSelectioin = 392            say "[AspectSpellbook Artisian"93            wait globalTimeout94        elseif AspectBookSelectioin = 495            say "[AspectSpellbook Blood"96            wait globalTimeout        97        elseif AspectBookSelectioin = 598            say "[AspectSpellbook Command"99            wait globalTimeout100        elseif AspectBookSelectioin = 6101            say "[AspectSpellbook Death"102            wait globalTimeout103        elseif AspectBookSelectioin = 7104            say "[AspectSpellbook Discipline"105            wait globalTimeout106        elseif AspectBookSelectioin = 8107            say "[AspectSpellbook Earth"108            wait globalTimeout109        elseif AspectBookSelectioin = 9110            say "[AspectSpellbook Eldrich"111            wait globalTimeout112        elseif AspectBookSelectioin = 10113            say "[AspectSpellbook Fire"114            wait globalTimeout115        elseif AspectBookSelectioin = 11116            say "[AspectSpellbook Fortune"117            wait globalTimeout118        elseif AspectBookSelectioin = 12119            say "[AspectSpellbook Frost"120            wait globalTimeout121        elseif AspectBookSelectioin = 13122            say "[AspectSpellbook Gadget"123            wait globalTimeout124        elseif AspectBookSelectioin = 14125            say "[AspectSpellbook Harvest"126            wait globalTimeout127        elseif AspectBookSelectioin = 15128            say "[AspectSpellbook Holy"129            wait globalTimeout130        elseif AspectBookSelectioin = 16131            say "[AspectSpellbook Lightning"132            wait globalTimeout133        elseif AspectBookSelectioin = 17134            say "[AspectSpellbook Lyric"135            wait globalTimeout136        elseif AspectBookSelectioin = 18137            say "[AspectSpellbook Madness"138            wait globalTimeout139        elseif AspectBookSelectioin = 19140            say "[AspectSpellbook Poison"141            wait globalTimeout142        elseif AspectBookSelectioin = 20143            say "[AspectSpellbook Shadow"144            wait globalTimeout145        elseif AspectBookSelectioin = 21146            say "[AspectSpellbook Void"147            wait globalTimeout148        elseif AspectBookSelectioin = 22149            say "[AspectSpellbook War"150            wait globalTimeout151        elseif AspectBookSelectioin = 23152            say "[AspectSpellbook Water"153            wait globalTimeout154        endif        155    endif    156    if AspectMasteryArmor = 1157        if AspectArmorSelection = 1158            say "[AspectSpellbook Air"159            wait globalTimeout160        elseif AspectArmorSelection = 2161            say "[AspectArmor Arcane"162            wait globalTimeout163        elseif AspectArmorSelection = 3164            say "[AspectArmor Artisian"165            wait globalTimeout166        elseif AspectArmorSelection = 4167            say "[AspectArmor Blood"168            wait globalTimeout        169        elseif AspectArmorSelection = 5170            say "[AspectArmor Command"171            wait globalTimeout172        elseif AspectArmorSelection = 6173            say "[AspectArmor Death"174            wait globalTimeout175        elseif AspectArmorSelection = 7176            say "[AspectArmor Discipline"177            wait globalTimeout178        elseif AspectArmorSelection = 8179            say "[AspectArmor Earth"180            wait globalTimeout181        elseif AspectArmorSelection = 9182            say "[AspectArmor Eldrich"183            wait globalTimeout184        elseif AspectArmorSelection = 10185            say "[AspectArmor Fire"186            wait globalTimeout187        elseif AspectArmorSelection = 11188            say "[AspectArmor Fortune"189            wait globalTimeout190        elseif AspectArmorSelection = 12191            say "[AspectArmor Frost"192            wait globalTimeout193        elseif AspectArmorSelection = 13194            say "[AspectArmor Gadget"195            wait globalTimeout196        elseif AspectArmorSelection = 14197            say "[AspectArmor Harvest"198            wait globalTimeout199        elseif AspectArmorSelection = 15200            say "[AspectArmor Holy"201            wait globalTimeout202        elseif AspectArmorSelection = 16203            say "[AspectArmor Lightning"204            wait globalTimeout205        elseif AspectArmorSelection = 17206            say "[AspectArmor Lyric"207            wait globalTimeout208        elseif AspectArmorSelection = 18209            say "[AspectArmor Madness"210            wait globalTimeout211        elseif AspectArmorSelection = 19212            say "[AspectArmor Poison"213            wait globalTimeout214        elseif AspectArmorSelection = 20215            say "[AspectArmor Shadow"216            wait globalTimeout217        elseif AspectArmorSelection = 21218            say "[AspectArmor Void"219            wait globalTimeout220        elseif AspectArmorSelection = 22221            say "[AspectArmor War"222            wait globalTimeout223        elseif AspectArmorSelection = 23224            say "[AspectArmor Water"225            wait globalTimeout226        endif            227    endif228endif229 230// AutoSplit Bandages and place them into empty red pouches231if AutomaticallySplitBandages = 1232    @clearignore 233    while findtype "pouch" backpack 38 as item234        getlabel item desc235        if "(0 items" in desc236            overhead "Found an empty pouch" 77237            // empty238            if findtype "clean bandage%s%" backpack as aids239                getlabel aids aidsdesc240                overhead "Moving an aid {{aidsdesc}}" 88241                lift aids HowManyBandages242                drop item -1 -1 -1243                wait globalTimeout244                if "bandage" in aidsdesc245                    ignore aids246                endif247            else248                overhead "We do not have any bandages" 34249            endif250        endif251        @ignore item252    endwhile253    @clearignore254endif255 256// Stack red pouches on top of your loot bag257if AutomaticallyStackRedPouchs = 1258    clearignore 259    while findtype 3705 backpack 38 as decoypouch260 261        getlabel decoypouch decoypouchlabel262        wait 250263        if '(1 items' in decoypouchlabel 264            lift decoypouch265        drop backpack 0 0 0266            @ignore decoypouch267        endif268    endwhile269endif270 271overhead "Done!"