Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
ThievingHidingStealth
Complex Single-Button Hide Stealth.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5ea25eae-3416-45aa-9ea8-888dcb33d4c2 for latest2# Automation by Jaseowns3## Script: Complex Single-Button Hide > Stealth4## Created by: thisideasucks#05#############################################6 7// Complex Single-Button Hide > Stealth8 9// Wait and Timeout values, adjust if needed10@setvar! globalWait 10011@setvar! messageTimeout 200012// Repeat hide attempts until hidden13@setvar! repeatHide 014// Repeat stealth attempts until stealthed15@setvar! repeatStealth 116// Call magical hat trick script - Set the name of script in Razor below (Line 59)17@setvar! callHatTrick 118// Set whether script is more chatty19@setvar! chattyScript 020 21if not timerexists warningTimer22 settimer warningTimer messageTimeout23endif24 25if not timerexists notifyTimer26 settimer notifyTimer messageTimeout27endif28 29if not hidden30 clearsysmsg31 useskill 'Hiding'32 wait globalWait33 if hidden34 if chattyScript = 135 overhead 'Hidden' 8836 endif37 else38 if timer warningTimer > messageTimeout39 if insysmsg "You must wait a few moments to use another skill"40 overhead "Skill cooldown!!" 3841 settimer warningTimer 042 elseif not hidden43 overhead 'Not Hidden!!' 3844 settimer warningTimer 045 endif46 endif47 wait globalWait48 if repeatHide = 149 loop50 endif51 endif52elseif hidden53 clearsysmsg54 if timer notifyTimer > messageTimeout55 if chattyScript = 156 overhead 'Attempting stealth' 9457 settimer notifyTimer 058 endif59 endif60 useskill 'Stealth'61 wait globalWait62 if insysmsg "You begin to move quietly" or insysmsg "You feel ready to continue stealthing" or insysmsg "You will automatically stealth when out of steps"63 overhead 'Stealthed' 8864 if callHatTrick = 165 script "Magical Hat Trick"66 endif67 else68 if timer warningTimer > messageTimeout69 overhead 'Not Stealthed!!' 3870 settimer warningTimer 071 endif72 wait globalWait73 if repeatStealth = 174 loop75 endif76 endif77endif