Back to "pet" tags

2024 Kings Faire - All Games by arger

Description: An updated version of the original 2023 JaseOwns Auto King's Faire Bot - Warning: there appears to be a loop issue with the hinder-based wait mechanic. I will seek to resolve it.

# JaseOwns Kings Faire Auto Bot Updated by Arger # UO Outlands ############ # Updated for King's Faire 2024 # For Real Content See - youtube.com/jaseowns/live # v1.1 - Warning: there appears to be a loop issue with the hinder-based wait mechanic. I will seek to resolve it. ########## @setvar! Alchemissed 0x14164 @setvar! Apple-Bobber 0x14165 @setvar! Archery-Contest 0x14115 @setvar! Axe-Throw 0x14117 @setvar! Balloon-Pop 0x1414A @setvar! Bar-Creep 0x14188 @setvar! Bell-Striker 0x14119 @setvar! Boxing-Match 0x14120 @setvar! Candyugh-Arena 0x14189 @setvar! Cannon-Bawl 0x1418E @setvar! Caravan-Pusher 0x14158 @setvar! Coop-Shoot 0x14169 @setvar! Derby-Race 0x14144 @setvar! Drinking-Contest 0x14128 @setvar! Dunk-Tank 0x1412F @setvar! Dye-Dye-Dye 0x1418F @setvar! Eating-Contest 0x1413E @setvar! Fishing-Contest 0x14136 @setvar! Jousting 0x14139 @setvar! Ladder-Golf 0x1413A @setvar! Log-Cutter 0x1413C @setvar! Log-Rolling 0x1414E @setvar! Packmaster 0x14154 @setvar! Plucky-Musician 0x1415A @setvar! Produce-Pitch 0x14149 @setvar! Pylon-Gladiator 0x14148 @setvar! Quartermaster 0x1416B @setvar! Rage-Cage 0x1416C @setvar! Ship-Race 0x1414D @setvar! Skeet-Shooting 0x14155 @setvar! Squiball 0x1413B @setvar! Statue-Carving 0x14152 @setvar! Tomato-Justice 0x14153 @setvar! Totem-Stacker 0x14191 @setvar! Whack-a-Muck 0x1413F @setvar! overheadMessageTimerCd 2000 settimer overheadMessageTimer overheadMessageTimerCd clearsysmsg gumpclose 2258988405 while not dead if findtype "diaphonous wings" backpack as item dclick item endif ############## ### Alchemissed ######### @setvar! gameVendorId Alchemissed @setvar! gameStartX 6507 @setvar! gameStartY 3143 @setvar! gameEndX 6518 @setvar! gameEndY 3145 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Alchemissed for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Apple-Bobber ######### @setvar! gameVendorId Apple-Bobber @setvar! gameStartX 6433 @setvar! gameStartY 3126 @setvar! gameEndX 6438 @setvar! gameEndY 3124 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Apple-Bobber for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Archery-Contest ######### @setvar! gameVendorId Archery-Contest if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Archery-Contest for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Axe-Throw ######### @setvar! gameVendorId Axe-Throw @setvar! gameStartX 6434 @setvar! gameStartY 3099 @setvar! gameEndX 6436 @setvar! gameEndY 3099 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Axe-Throw for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Balloon-Pop ######### @setvar! gameVendorId Balloon-Pop @setvar! gameStartX 6420 @setvar! gameStartY 3088 @setvar! gameEndX 6418 @setvar! gameEndY 3083 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Balloon-Pop for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Bar-Creep ######### @setvar! gameVendorId Bar-Creep @setvar! gameStartX 6434 @setvar! gameStartY 3010 @setvar! gameEndX 6432 @setvar! gameEndY 3017 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Bar-Creep for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Bell-Striker ######### @setvar! gameVendorId Bell-Striker @setvar! gameStartX 6433 @setvar! gameStartY 3073 @setvar! gameEndX 6436 @setvar! gameEndY 3073 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Bell-Striker for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Boxing-Match ######### @setvar! gameVendorId Boxing-Match if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Boxing-Match for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Caravan-Pusher ######### @setvar! gameVendorId Caravan-Pusher if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Caravan-Pusher for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Cannon-Brawl ######### @setvar! gameVendorId Cannon-Bawl @setvar! gameStartX 6397 @setvar! gameStartY 3048 @setvar! gameEndX 6408 @setvar! gameEndY 3049 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Cannon-Bawl for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Candyugh-Arena ######### @setvar! gameVendorId Candyugh-Arena @setvar! gameStartX 6390 @setvar! gameStartY 3075 @setvar! gameEndX 6400 @setvar! gameEndY 3080 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Candyugh-Arena for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Coop-Shoot ######### @setvar! gameVendorId Coop-Shoot @setvar! gameStartX 6419 @setvar! gameStartY 3152 @setvar! gameEndX 6423 @setvar! gameEndY 3151 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Coop-Shoot for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Derby-Race ######### @setvar! gameVendorId Derby-Race if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Derby-Race for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Drinking-Contest ######### @setvar! gameVendorId Drinking-Contest if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 500 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Drinking-Contest for today.. lets try another game!" 88 @setvar! playingGame 0 gumpclose 2258988405 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 500 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Dunk-Tank ######### @setvar! gameVendorId Dunk-Tank @setvar! gameStartX 6439 @setvar! gameStartY 3060 @setvar! gameEndX 6440 @setvar! gameEndY 3058 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Dunk-Tank for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Dye-Dye-Dye ######### @setvar! gameVendorId Dye-Dye-Dye if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Dye-Dye-Dye for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Eating-Contest ######### @setvar! gameVendorId Eating-Contest @setvar! gameStartX 6433 @setvar! gameStartY 3138 @setvar! gameEndX 6436 @setvar! gameEndY 3142 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Eating-Contest for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Fishing-Contest ######### @setvar! gameVendorId Fishing-Contest @setvar! gameStartX 6486 @setvar! gameStartY 3088 @setvar! gameEndX 6487 @setvar! gameEndY 3076 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Fishing-Contest for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Jousting ######### @setvar! gameVendorId Jousting if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Jousting for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Ladder-Golf ######### @setvar! gameVendorId Ladder-Golf @setvar! gameStartX 6435 @setvar! gameStartY 3087 @setvar! gameEndX 6438 @setvar! gameEndY 3088 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Ladder-Golf for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Log-Cutter ######### @setvar! gameVendorId Log-Cutter @setvar! gameStartX 6420 @setvar! gameStartY 3070 @setvar! gameEndX 6419 @setvar! gameEndY 3076 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Log-Cutter for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Log-Rolling ######### @setvar! gameVendorId Log-Rolling if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Log-Rolling for today.. lets try another game!" 88 @setvar! playingGame 0 gumpclose 2258988405 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Packmaster ######### @setvar! gameVendorId Packmaster @setvar! gameStartX 6447 @setvar! gameStartY 3130 @setvar! gameEndX 6446 @setvar! gameEndY 3139 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Packmaster for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Plucky-Musician ######### @setvar! gameVendorId Plucky-Musician @setvar! gameStartX 6405 @setvar! gameStartY 3126 @setvar! gameEndX 6413 @setvar! gameEndY 3122 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Plucky-Musician for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Produce-Pitch ######### @setvar! gameVendorId Produce-Pitch @setvar! gameStartX 6419 @setvar! gameStartY 3109 @setvar! gameEndX 6419 @setvar! gameEndY 3110 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Produce-Pitch for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Pylon-Gladiator ######### @setvar! gameVendorId Pylon-Gladiator if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Pylon-Gladiator for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Quartermaster ######### @setvar! gameVendorId Quartermaster @setvar! gameStartX 6483 @setvar! gameStartY 3154 @setvar! gameEndX 6491 @setvar! gameEndY 3159 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Quartermaster for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Rage-Cage ######### @setvar! gameVendorId Rage-Cage @setvar! gameStartX 6543 @setvar! gameStartY 3137 @setvar! gameEndX 6542 @setvar! gameEndY 3142 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Rage-Cage for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Ship-Race ######### @setvar! gameVendorId Ship-Race if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile gumpresponse 2 2258988405 wait 200 @setvar! playingGame 1 if ingump "have 0 plays remaining" 2258988405 overhead "We are done with Ship-Race for today.. lets try another game!" 88 @setvar! playingGame 0 elseif insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 replay elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 @setvar! playingGame 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if paralyzed or findbuff "hinder" @setvar! playingGame 1 break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif ############## ### Skeet-Shooting ######### @setvar! gameVendorId Skeet-Shooting @setvar! gameStartX 6523 @setvar! gameStartY 3102 @setvar! gameEndX 6528 @setvar! gameEndY 3106 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Skeet-Shooting for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Squiball ######### @setvar! gameVendorId Squiball @setvar! gameStartX 6529 @setvar! gameStartY 3049 @setvar! gameEndX 6529 @setvar! gameEndY 3053 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Squiball for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Statue-Carving ######### @setvar! gameVendorId Statue-Carving @setvar! gameStartX 6417 @setvar! gameStartY 3056 @setvar! gameEndX 6424 @setvar! gameEndY 3056 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Statue-Carving for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Tomato-Justice ######### @setvar! gameVendorId Tomato-Justice @setvar! gameStartX 6511 @setvar! gameStartY 3005 @setvar! gameEndX 6499 @setvar! gameEndY 3011 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Tomato-Justice for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Totem-Stacker ######### @setvar! gameVendorId Totem-Stacker @setvar! gameStartX 6424 @setvar! gameStartY 2983 @setvar! gameEndX 6425 @setvar! gameEndY 2988 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Totem-Stacker for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif ############## ### Whack-a-Muck ######### @setvar! gameVendorId Whack-a-Muck @setvar! gameStartX 6490 @setvar! gameStartY 3004 @setvar! gameEndX 6480 @setvar! gameEndY 3006 if find gameVendorId ground -1 -1 4 as james while not gumpexists 2258988405 menu james 1 waitforgump 2258988405 5000 endwhile if ingump "have 0 plays remaining" 2258988405 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "We are done with Whack-a-Muck for today.. lets try another game!" 77 settimer overheadMessageTimer 0 endif gumpclose 2258988405 else gumpresponse 2 2258988405 wait 200 if insysmsg "You are too far away to participate in this event." overhead "Move closer to the contest guy" 34 wait 500 elseif insysmsg "You join the queue to participate" or insysmsg "You are already queued" settimer waitingInLineTimer 0 while find gameVendorId ground -1 -1 4 if timer overheadMessageTimer >= overheadMessageTimerCd overhead "Wait in queue, stand by... {{waitingInLineTimer}}" 34 settimer overheadMessageTimer 0 endif if position gameStartX gameStartY break endif wait 50 endwhile elseif insysmsg "You do not have enough tickets in your bank box to participate in this event." overhead "We need to go buy tickets!" 287 wait 2000 endif endif if position gameStartX gameStartY while position gameStartX gameStartY wait 200 endwhile if position gameEndX gameEndY say "I just finished, your turn!" endif endif endif if insysmsg "You are no longer queued" overhead "We dropped out of the queue" 34 gumpclose 2258988405 endif wait 500 endwhile