Skip to content
Outlands Hub

Razor script

Kings Faire 2024

by surpz · 114 lines
Download
Kings Faire 2024.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c9f3271a-6ac0-4877-a7af-e2de6aac28aa for latest2# Automation by Jaseowns3## Script: Kings Faire 20244## Created by: surpz#05#############################################6 7@setvar! pingDelay 5008@setvar! retryDelay 20009 10clearlist npcList11createlist npcList12 13#Alchemissed14pushlist npcList 0x1416415#Apple Bobber16pushlist npcList 0x1416517#Archery Contest18pushlist npcList 0x1411519#Balloon Pop20pushlist npcList 0x1414A21#Boxing Match22pushlist npcList 0x1412023#Caravan Pusher24pushlist npcList 0x1415825#Derby Race26pushlist npcList 0x1414427#Dye Dye Dye28pushlist npcList 0x1418F29#Eating Contest30pushlist npcList 0x1413E31#Fishing Contest32pushlist npcList 0x1413633#Jousting34pushlist npcList 0x1413935#Log Cutter36pushlist npcList 0x1413C37#Packmaster38pushlist npcList 0x1415439#Plucky Musician40pushlist npcList 0x1415A41#Produce Pitch42pushlist npcList 0x1414943#Quartermaster44pushlist npcList 0x1416B45#Rage Cage46pushlist npcList 0x1416C47#Ship Race48pushlist npcList 0x1414D49#Skeet Shooting50pushlist npcList 0x1415551#Squiball52pushlist npcList 0x1413B53#Statue Carving54pushlist npcList 0x1415255#Tomato Justice 56pushlist npcList 0x1415357#Totem Stacker58pushlist npcList 0x281D59#Whack-a-Muck60pushlist npcList 0x1413F61#Ladder Golf62pushlist npcList 0x1413A63#Bell Striker64pushlist npcList 0x1411965#Dunk Tank66pushlist npcList 0x1412F67#Axe Toss68pushlist npcList 0x1411769#Log Rolling70pushlist npcList 0x1414E71#Pylon Gladiator72pushlist npcList 0x1414873#Drinking Contest74pushlist npcList 0x1412875 76 77while not dead78    foreach npc in npcList79 80        #look for each npc in list and open gump81        if find npc ground -1 -1 6 as npcFound82            overhead "� NPC Found �" 30 npc83            menu npcFound 184            waitforgump 2258988405 100085            wait pingDelay86        87            #if 0 plays remaining88            if ingump "have 0 plays remaining" 225898840589                overhead "Done with this game for today."90            91            #some plays remaining, click Play Event92            else93                gumpresponse 2 225898840594                wait pingDelay95                if insysmsg "You are already participating in an event currently"96                    wait retryDelay97                elseif insysmsg "You are too far away to participate in this event"98                    overhead 'Move Closer to NPC.'99                elseif insysmsg "You join the queue to participate"100                    overhead "Entered Queue!"101                elseif insysmsg "You are already queued"102                    overhead "Already Queued."103                elseif insysmsg "You have played this event"104                    overhead "Done with this game for today."105                elseif insysmsg "You do not have enough tickets in your bank box to participate in this event"106                    overhead "We need to go buy tickets!" 30107                endif108            endif109        endif110        111    endfor112    wait retryDelay113    114endwhile