Skip to content
Outlands Hub

Razor script

PK Panic Button

by younggoudaboi · 104 lines
Download

SUPPLIES: Heal, cure, strength pots Food Chainmail chest Poisoned katana Trapped pouches

HealingPvP
PK Panic Button.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/d7b317e9-8dc4-4ca0-a551-73bf27248b27 for latest2# Automation by Jaseowns3## Script: PK Panic Button4## Created by: younggoudaboi#05#############################################6 7#SUPPLIES:8# Heal, cure, strength pots9# Food10# Chainmail chest11# Poisoned katana12# Trapped pouches13 14#CHECK IF HIDDEN - WILL NOT EXECUTE SCRIPT IF HIDDEN15if hidden16    overhead "Hidden!"17    stop18endif19 20 21 22#HEAL TIMERS23clearsysmsg24 25if not timerexists "healpot"26    createtimer "healpot"27    settimer "healpot" 1100028endif29if not timerexists "warning"30    createtimer "warning"31    settimer "warning" 3100032endif33if not timerexists "curepot"34    createtimer "curepot"35    settimer "curepot" 1100036endif37 38 39 40#BATTLE MODE41warmode 'on'42if findtype "katana" backpack as item43    dclick item44    wait 15045endif46 47target closest red48 49if findtype "chainmail tunic" backpack as item50    dclick item51    wait 15052endif53   54if findtype "white potion" backpack as pot55    dclick pot56    wait 15057endif58 59if findtype "tray" backpack as food60    dclick food61    wait 15062endif63 64#HEALING SCRIPT65while not dead66 67  if insysmsg 'you cannot move' or insysmsg 'You must wait before using this command again'68 69       say '[pouch'70 71  endif72 73    if poisoned and timer 'curepot' > 1100074 75        potion 'cure'76 77        wait 20078 79        settimer 'curepot' 080 81    endif82 83    if not findtype 'Yellow Potion' backpack and timer 'warning' > 3000084        overhead 'No heal pots!' 3485        wait 20086        settimer 'warning' 087    endif88 89    if hp < 10090        if findtype "Yellow Potion" backpack91 92            if timer "healpot" > 1100093                    overhead 'Drinking heal!'94                    wait 20095                    potion "heal"96                    wait 20097                    settimer "healpot" 098        99            endif100        endif101    endif102endif103wait 100104endwhile