# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f38d7d80-d610-4a3e-b1bb-691e1f7b3fab for latest
# Automation by Jaseowns
## Script: Safe Hiding & Stealth hotkey
## Created by: golfinh0#0
#############################################
# Name: Begin to Hiding than Stealth or Stealth when ready
# Author: golfinho, Guilherme Ledes (Inspired by first Jaseowns thief live stream)
# Description: Use only one hotkey to hide and stealth, and do not lose any
# step when stealthing any more, with this script you will automaticaly begin to
# stealth only after you do your last available step.
#
# Hint:
# - Disable auto-stealth
# - Check Razor Options -> Additional options -> Count stealth steps, Overhead
# Format: [stealth {step}]
# - Add these overheadmessage to help you to follow what is going on:
#
#
#
#
#
#
@setvar! lag 200
if not timerexists 'stealth'
createtimer 'stealth'
endif
settimer 'stealth' 0
if not hidden
skill 'Hiding'
wait lag
while hidden and timer 'stealth' < 10000
overhead '[stealth WAIT]' 33
wait 2000
endwhile
if hidden
waitforsysmsg 'You feel comfortable enough to begin stealthing.'
wait lag
skill 'Stealth'
endif
else
if timer 'stealth' > 10000
waitforsysmsg 'You feel ready to continue stealthing.'
waitforsysmsg 'You have 0 stealth steps remaining.'
endif
wait lag
skill 'Stealth'
endif