Skip to content
Outlands Hub

Razor script

Auto Codex Change Snippets

by barryroser · 227 lines
Download

Codex Change Snippets These snippets can be used in echo change scripts/standalone button scripts User must edit the line in each snippet that handles your custom loadout name Default loadout name is "LOADOUT NAME HERE" Potion Codex

Auto Codex Change Snippets.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/53be15f1-cd6b-46ce-bfe1-10f5946a3241 for latest2# Automation by Jaseowns3## Script: Auto Codex Change Snippets4## Created by: barryroser#05#############################################6 7# Codex Change Snippets8#9# These snippets can be used in echo change scripts/standalone button scripts10# User must edit the line in each snippet that handles your custom loadout name 11# Default loadout name is "LOADOUT NAME HERE"12#13##########################################################################14# Potion Codex15 16if findtype "potion codex" backpack as potcodex17    clearsysmsg 18    dclick potcodex19    waitforgump 2571832515 50020    while not ingump "LOADOUT NAME HERE"21        gumpresponse 3 257183251522        waitforgump 2571832515 50023    endwhile24    gumpresponse 7 257183251525    getlabel backpack ping26    if insysmsg "You must wait another"27        overhead "Codex Reset Cooling Down..." 3828        gumpclose 257183251529    elseif insysmsg "Click again to activate this loadout"30        gumpresponse 7 257183251531        waitforgump 2571832515 50032        gumpclose 257183251533        cooldown "Potion Codex Reset" 30000034    endif35endif36 37##########################################################################38# Wizard Grimoire39 40if findtype "wizards grimoire" backpack as wizgrim41    clearsysmsg 42    dclick wizgrim43    waitforgump 1281623709 50044    while not ingump "LOADOUT NAME HERE"45        gumpresponse 3 128162370946        waitforgump 1281623709 50047    endwhile48    gumpresponse 7 128162370949    getlabel backpack ping50    if insysmsg "You must wait another"51        overhead "Codex Reset Cooling Down..." 3852        gumpclose 128162370953    elseif insysmsg "Click again to activate this loadout"54        gumpresponse 7 128162370955        waitforgump 1281623709 50056        gumpclose 128162370957        cooldown "Wizard Grimoire Reset" 30000058    endif59endif60 61##########################################################################62# Trap Kit63 64if findtype "trap kit" backpack as trapcodex65    clearsysmsg 66    dclick trapcodex67    waitforgump 4044985415 50068    while not ingump "LOADOUT NAME HERE"69        gumpresponse 3 404498541570        waitforgump 4044985415 50071    endwhile72    gumpresponse 7 404498541573    getlabel backpack ping74    if insysmsg "You must wait another"75        overhead "Codex Reset Cooling Down..." 3876        gumpclose 404498541577    elseif insysmsg "Click again to activate this loadout"78        gumpresponse 7 404498541579        waitforgump 4044985415 50080        gumpclose 404498541581        cooldown "Trap Kit Reset" 30000082    endif83endif84 85##########################################################################86# Summoners Tome87 88if findtype "summoners tome" backpack as summcodex89    clearsysmsg 90    dclick summcodex91    waitforgump 2279346433 50092    while not ingump "LOADOUT NAME HERE"93        gumpresponse 3 227934643394        waitforgump 2279346433 50095    endwhile96    gumpresponse 7 227934643397    getlabel backpack ping98    if insysmsg "You must wait another"99        overhead "Codex Reset Cooling Down..." 38100        gumpclose 2279346433101    elseif insysmsg "Click again to activate this loadout"102        gumpresponse 7 2279346433103        waitforgump 2279346433 500104        gumpclose 2279346433105        cooldown "Summoner Tome Reset" 300000106    endif107endif108 109##########################################################################110# Poison Kit111 112if findtype "full vials" backpack as poisonkit113    clearsysmsg 114    dclick poisonkit115    waitforgump 1144890379 500116    while not ingump "LOADOUT NAME HERE"117        gumpresponse 3 1144890379118        waitforgump 1144890379 500119    endwhile120    gumpresponse 7 1144890379121    getlabel backpack ping122    if insysmsg "You must wait another"123        overhead "Codex Reset Cooling Down..." 38124        gumpclose 1144890379125    elseif insysmsg "Click again to activate this loadout"126        gumpresponse 7 1144890379127        waitforgump 1144890379 500128        gumpclose 1144890379129        cooldown "Poison Kit Reset" 300000130    endif131endif132 133##########################################################################134# Bard Codex135 136if findtype "bard codex" backpack as bardcodex137    clearsysmsg 138    dclick bardcodex139    waitforgump 2952534525 500140    while not ingump "LOADOUT NAME HERE"141        gumpresponse 3 2952534525142        waitforgump 2952534525 500143    endwhile144    gumpresponse 7 2952534525145    getlabel backpack ping146    if insysmsg "You must wait another"147        overhead "Codex Reset Cooling Down..." 38148        gumpclose 2952534525149    elseif insysmsg "Click again to activate this loadout"150        gumpresponse 7 2952534525151        waitforgump 2952534525 500152        gumpclose 2952534525153        cooldown "Bard Codex Reset" 300000154    endif155endif156 157##########################################################################158# Taming Bestiary159 160if findtype "taming bestiary" backpack as beastcodex161    clearsysmsg 162    dclick beastcodex163    waitforgump 1353229584 500164    while not ingump "LOADOUT NAME HERE"165        gumpresponse 3 1353229584166        waitforgump 1353229584 500167    endwhile168    gumpresponse 7 1353229584169    getlabel backpack ping170    if insysmsg "You must wait another"171        overhead "Codex Reset Cooling Down..." 38172        gumpclose 1353229584173    elseif insysmsg "Click again to activate this loadout"174        gumpresponse 7 1353229584175        waitforgump 1353229584 500176        gumpclose 1353229584177        cooldown "Taming Bestiary Reset" 300000178    endif179endif180 181##########################################################################182# Thief Codex183 184if findtype "thief codex" backpack as tcodex185    clearsysmsg 186    dclick tcodex187    waitforgump 2955404556 500188    while not ingump "LOADOUT NAME HERE"189        gumpresponse 3 2955404556190        waitforgump 2955404556 500191    endwhile192    gumpresponse 7 2955404556193    getlabel backpack ping194    if insysmsg "You must wait another"195        overhead "Codex Reset Cooling Down..." 38196        gumpclose 2955404556197    elseif insysmsg "Click again to activate this loadout"198        gumpresponse 7 2955404556199        waitforgump 2955404556 500200        gumpclose 2955404556201        cooldown "Thief Codex Reset" 300000202    endif203endif204 205##########################################################################206# Healers Codex207 208if findtype "healers codex" backpack as healcodex209    clearsysmsg 210    dclick healcodex211    waitforgump 1244441914 500212    while not ingump "LOADOUT NAME HERE"213        gumpresponse 3 1244441914214        waitforgump 1244441914 500215    endwhile216    gumpresponse 7 1244441914217    getlabel backpack ping218    if insysmsg "You must wait another"219        overhead "Codex Reset Cooling Down..." 38220        gumpclose 1244441914221    elseif insysmsg "Click again to activate this loadout"222        gumpresponse 7 1244441914223        waitforgump 1244441914 500224        gumpclose 1244441914225        cooldown "Healers Codex Reset" 300000226    endif227endif