Skip to content
Outlands Hub

Razor script

Training Camping, Spirit Speak, Hiding, Stealth and Detect Hidden

by demlar · 106 lines
Download

Initial Script Camping, Spirit Speak, Hiding, Stealth, Detect Hidden Set values to 0 to skip Version 1.3 Last Modified: 10/25/24 1.0: initial adding of variables. 1.1: Hiding check for stealth 1.2 Added Shelter variable checks 1.3 Once…

TrainingThievingSpirit SpeakHidingStealthCamping
Training Camping Spirit Speak Hiding Stealth and Detect Hidden.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/e29be316-1272-4455-98e1-55caaf8de4c2 for latest2# Automation by Jaseowns3## Script: Training Camping, Spirit Speak, Hiding, Stealth and Detect Hidden4## Created by: demlar#05#############################################6 7#Author: Demlar8#Initial Script9#Camping, Spirit Speak, Hiding, Stealth, Detect Hidden10# Set values to 0 to skip11#Version 1.312#Last Modified: 10/25/2413# 1.0: initial adding of variables.14# 1.1: Hiding check for stealth 15# 1.2 Added Shelter variable checks16# 1.3 Once reaching 80 they turn off assuming your in shelter17# 1.4 1) Fixed hiding to actually always hide.18#     2) removed other checks allows to work after wait expires.19# 1.5 1) added caps that will overwrite variables and stop once reached.20 21## !!! DETECT HIDDEN, HIDING, STEALTH REQUIRE being around someone DO NOT TRAIN THESE IN YOUR ROOM!!!!!!!22 23 24 25 26 27#Stealth can be turned on but if you dont have good hiding it wont work. 28#Stealth needs to be 80 hiding to work.29 30@setvar! isCamping          131@setvar! isSpiritSpeak      132@setvar! isHiding           133@setvar! isStealth          134@setvar! isDetectHidden     1    35 36#set maximum values for stats37#this will overwrite values above.38@setvar! stealthMax 10039@setvar! campingMax 8040@setvar! spiritSpeakMax 8041@setvar! hidingMax 10042@setvar! detectHiddenMax 12043 44 45 46while not dead   47    if isCamping = 148        if skill "Camping" < campingMax and findtype "kindling" backpack49           if not findtype "campfire" ground -1 1 250                dclicktype "kindling" backpack51                wait 100052 53           endif54        else55            @setvar! isCamping 056        endif57    endif58 59    if isSpiritSpeak = 1    60        if skill "Spirit Speak" < spiritSpeakMax61            useskill 'spiritspeak'62        else63            @setvar! isSpiritSpeak 064        endif65    endif66        67        for 568            wait 150069            if insysmsg 'You fail your attempt at' or insysmsg 'You establish contact'70                wait 150071                break72            endif73        endfor74 75    endif76    if isHiding = 177        if skill 'hiding' < hidingMax78            useskill "hiding"79            wait 1100080        else81            @setvar! isHiding 082        endif83    endif84    85    if isStealth = 1 and skill 'hiding' > 80 86        if skill 'stealth' < stealthMax87        while hidden88            useskill "stealth"89            wft 90            wait 1100091        endwhile92        else93            @setvar! isStealth 094        endif95    endif96    97    if isDetectHidden = 1 and skill "Detect Hidden" < detectHiddenMax98            useskill 'detectinghidden'99            wft100            target 'self'101            wait 11000102    else103        @setvar! isDetectHidden 0104    endif105   106endwhile