Skip to content
Outlands Hub

Razor script

Newbie Guard Bot

by Jaseowns · 67 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

It attempts to run a saying outloud…

Newbie Guard Bot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5387f449-ab71-47f3-b688-81fad7fdcc7b for latest2# Automation by Jaseowns3## Script: Newbie Guard Bot4## Created by: Jaseowns#66945#############################################6 7# Newbie Guard Bot by Jaseowns8# UO Outlands9# Requirements:10#     This script assumes you have a shield in your hand and are standing near the entrance 11#     to the shelter dungeon to protect the newbies!12# Description:13#     It attempts to run a saying outloud every 30 seconds and targets monsters within a certain 14#     tile range.  You can change the range but the default is 6.15 16@setvar! guardTarget 017@setvar! triggerRange 618 19// harpy20if findtype 30 ground -1 1 triggerRange as targ21    @setvar! guardTarget targ22// giant bat23elseif findtype 317 ground -1 1 triggerRange as targ24    @setvar! guardTarget targ25// zombie26elseif findtype 3 ground -1 1 triggerRange as targ27    @setvar! guardTarget targ28// mongbat29elseif findtype 39 ground -1 1 triggerRange as targ30    @setvar! guardTarget targ31// colossal frog32elseif findtype 80 ground -1 1 triggerRange as targ33    @setvar! guardTarget targ34// giant rat35elseif findtype 215 ground -1 1 triggerRange as targ36    @setvar! guardTarget targ37// headless one38elseif findtype 31 ground -1 1 triggerRange as targ39    @setvar! guardTarget targ40endif41 42if guardTarget != 043    hotkey 'Set Last Target'44    wft 50045    target guardTarget46    getlabel guardTarget desc47    overhead "Have at thee {{desc}}"48    hotkey 'use item in left hand'49    wft 50050    hotkey 'target self'51    attack lasttarget 52endif53 54if not timerexists chatTimer55    createtimer chatTimer56    settimer chatTimer 3000057endif58 59if timer chatTimer >= 3000060    say 'Stand behind me for safety fellow adventurers' 8861    settimer chatTimer 062endif63 64wait 500065replay66 67