Skip to content
Outlands Hub

Razor script

Bapeths Wizard Hat Stealth Trick

by barryroser · 96 lines
Download

October 7th 2024 This script is uses a "Magical Wizards Hat Hot Swap" with your normal hat in order to artificially reduce stamina when it hits max. This prevents the user from stepping on a mob/player…

ThievingStealth
Bapeths Wizard Hat Stealth Trick.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/036fc9b4-bbf0-41e6-b6ce-7d48fe2a4dc5 for latest2# Automation by Jaseowns3## Script: Bapeths Wizard Hat Stealth Trick4## Created by: barryroser#05#############################################6 7# Bapeths Wizard Hat Stealth Trick8#9# October 7th 202410#11# This script is uses a "Magical Wizards Hat Hot Swap" with your normal hat in order to artificially reduce stamina when it hits max.  12# This prevents the user from stepping on a mob/player while in stealth (even if the player/mob is in stealth/hidden themselves)13#14# "Required"15# A magical wizards hat (the type that changes your stats) in your backpack16# An otherwise non-magical wizard hat (any hat you like to wear, i.e., your main drip)17 18# "Action Delay Setting"19# This script uses razor "Auto-Queue Object Delay" setting20# Make sure this setting is turned ON in the razor Options tab > Targeting & Queues sub-tab21# Set "object delay to 503" - Hat swap will be slow if you do not do this22#23# "Errors & Resetting hats"24# Navigate to the Script Options Tab25# Delete "bwiz" "bmain" and "nonaspectedwiz" from the list26# Play the script again27#28# Script starts here29 30if findtype 5912 self and not varexist "bwiz" and findlayer self head as regularhat31    getlabel regularhat desc32    if "magical" in desc33        dclick regularhat34        pause 50035        getlabel backpack ping36        replay37    endif38endif39if not find "bwiz" self and findtype 5912 backpack as wizhat40    getlabel wizhat desc41    if "restyled" in desc42        @ignore wizhat43        replay44    elseif "armored" in desc45        @setvar "bwiz" wizhat46    elseif "magical" in desc47        @setvar "bwiz" wizhat48        @setvar "nonaspectedwiz" wizhat49    endif50endif51if varexist "bwiz" and find "bwiz" backpack52    if not find "bmain" self and findlayer self head as hat53        @setvar "bmain" hat54    endif55    if not varexist "bmain"56        overhead "I need a primary hat or helm to wear.." 8857        pause 200058        overhead "Anything will do, just not a magical wizard hat..." 8859        stop60    endif61endif62 63if varexist "bwiz" and find "bwiz" backpack and find "bmain" self64    if not targetexists and not casting and skill "Stealth" >= 80 and hidden and stam = maxstam65        while queued66            //donothing67        endwhile68        dclick "bwiz"69        while queued70            //donothing71        endwhile72        pause 3073        dclick "bmain"74        pause 50075        getlabel backpack ping76    endif77    if not targetexists and not casting and not findlayer self head and find "bmain" self78        while queued79            //donothing80        endwhile81        dclick "bmain"82        pause 50083        getlabel backpack ping84    endif85endif86if varexist "bwiz" and find "bmain" self87    if not targetexists and not casting and not find "bwiz" backpack88        while queued89            //donothing90        endwhile91        dclick "bmain"92        pause 50093        getlabel backpack ping94    endif95endif96loop