Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
THIS SCRIPT DEPENDS FROM: SCRIPTS: backstabberSetup COOLDOWNS: Tactics, Weapon Ability, Smoke Bomb, Health Potion, Hiding, Rope TO SET THIS COOLDOWNS: PAPERDOLL > OPTIONS > COOLDOWNS > NEW ENTRY ALL COOLDOWNS SHOULD BE SET AS MENTIONED…
CombatTacticsHiding
backstabberHide.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a86ad404-5e26-41c3-b171-e0658130c8a3 for latest2# Automation by Jaseowns3## Script: backstabberHide4## Created by: tarouca#05#############################################6 7# THIS SCRIPT DEPENDS FROM:8# SCRIPTS: backstabberSetup9# COOLDOWNS: Tactics, Weapon Ability, Smoke Bomb, Health Potion, Hiding, Rope10# TO SET THIS COOLDOWNS:11# PAPERDOLL > OPTIONS > COOLDOWNS > NEW ENTRY12# ALL COOLDOWNS SHOULD BE SET AS MENTIONED (Tactics, Weapon Ability, Smoke Bomb, Health Potion, Hiding, Rope)13# ON EACH CHECK: HIDE WHEN INACTIVE, PAUSE DURING WORLD SAVE14# MOUNT TOKEN15 16# OVERHEAD MESSAGES ARE USEFUL17# TO SETUP OVERHEAD MESSAGES:18# RAZOR > DISPLAY/COUNTERS > OVERHEAD MESSAGES19# CHECK: SHOW20# ADD MESSAGE FOR: stealth steps remaining. WITH OVERHEAD OF: {3} STEPS21# ADD MESSAGE FOR: You feel ready to continue stealthing. WITH OVERHEAD OF: RENEWED22# ADD MESSAGE FOR: You will automatically stealth when out of steps. WITH OVERHEAD OF: RENEWED23 24# TO SETUP ENSURE YOU EDIT THE backstabberSetup SCRIPT25# ADJUST THE lagTimer_ TO YOUR LIKING OR LEAVE IT AS IS26# ADJUST THE smokeBombCooldown_ TO REFLECT YOUR COOLDOWN (120000 IS THE BASE)27# ADJUST THE useMagery_ TO 0 IF TEMPLATE HAS MAGERY < 6028# IF MAGERY >= 60 INVISIBILITY SCROLLS ARE NEEDED29# REGARDING SERIALS REPLACE XXXXXXXXXX BY THE SERIALS OF YOUR ITEMS:30# IF NOT USING 2 WEAPON SKILLS, SET THE myBow_ WITH THE SAME VALUE AS myMace_31# A MAGICAL WIZARD HAT IS NEEDED TO KEEP A DIFFERENCE IN STAMINA SO THAT ON MOVEMENT CHARACTER WONT GET OUT OF STEALTH32# SET SERIALS FOR: myMount_, myHeadPiece_, myWizardHat_, myMace_, myBow_33 34setvar notStealthing_ 135setvar checkSteps_ 136 37warmode "on"38warmode "off"39 40if hp < 90 and not cooldown "Health Potion" and findtype "Yellow Potion" backpack41 dclicktype "Yellow Potion"42 cooldown "Health Potion" 1100043endif44 45if not dead lasttarget and find lasttarget ground -1 -1 1246 if not hidden and not cooldown "Smoke Bomb" and findtype "bombs" backpack and not cooldown "Hiding" and not cooldown "Rope"47 say "[SmokeBomb"48 wait lagTimer_49 wait lagTimer_50 if hidden51 cooldown "Smoke Bomb" smokeBombCooldown_52 setvar notStealthing_ 053 if mounted54 dclick myMount_55 endif56 endif57 endif58 if not cooldown "Hiding"59 useskill "Hiding"60 wait lagTimer_61 wait lagTimer_62 if hidden63 cooldown "Hiding" 1000064 endif65 endif66else67 if not cooldown "Hiding"68 useskill "Hiding"69 wait lagTimer_70 wait lagTimer_71 if hidden72 cooldown "Hiding" 1000073 endif74 endif75 if not hidden and not cooldown "Smoke Bomb" and findtype "bombs" backpack and not cooldown "Hiding" and not cooldown "Rope"76 say "[SmokeBomb"77 wait lagTimer_78 wait lagTimer_79 if hidden80 cooldown "Smoke Bomb" smokeBombCooldown_81 setvar notStealthing_ 082 if mounted83 dclick myMount_84 endif85 endif86 endif87endif 88 89if useMagery_ = 1 and not hidden90 if mana >= 20 and skill "magery" >= 6091 if findtype "Invisibility Scrol" backpack or skill "magery" >= 8092 overhead "CASTING INVISIBILITY" 4393 hotkey "Invisibility"94 waitfortarget 95 target "self"96 wait lagTimer_97 wait lagTimer_98 wait lagTimer_99 useskill "Hiding"100 cooldown "Hiding" 10000101 else 102 overhead "SCROLL/REGS" 28103 endif104 else 105 overhead "MANA/SKILL" 28106 endif107endif108 109if hidden and mounted110 dclick myMount_111endif112 113clearsysmsg114while hidden115 if find myMace_ backpack116 dclick myMace_117 endif118 while notStealthing_ = 1 and hidden119 if timer "dontWalkOverheadTimer_" > dontWalkOverheadTimerTarget_120 overhead "DONT WALK" 28121 settimer "dontWalkOverheadTimer_" 0122 endif123 if insysmsg "You feel comfortable enough to begin stealthing."124 setvar notStealthing_ 0125 overhead "STEALTH"126 endif127 endwhile128 if stam = maxstam and timer "staminaControlTimer_" > staminaControlTimerTarget_129 dclick myWizardHat_ backpack130 dclick myHeadPiece_ backpack131 settimer "staminaControlTimer_" 0132 endif133 if checkSteps_ = 1134 if insysmsg "You have 4 stealth steps remaining." or insysmsg "You have 3 stealth steps remaining." or insysmsg "You have 2 stealth steps remaining." 135 overhead "WARNING" 43136 elseif insysmsg "You have 1 stealth steps remaining." or insysmsg "You have 0 stealth steps remaining."137 overhead "STOP" 28138 endif139 endif140 if insysmsg "You have 0 stealth steps remaining." and checkSteps_ = 0141 setvar checkSteps_ 1142 endif143 if insysmsg "You will automatically stealth when out of steps." and checkSteps_ = 1144 setvar checkSteps_ 0145 endif 146endwhile