Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Candy_Man.pl - Quest File
General Info
Quest File
# items: 87312, 85062, 85067, 124688 sub EVENT_SPAWN { quest::settimer(1,600); } sub EVENT_SPAWN { quest::shout("Well done everyone! You have completed the Haunted Hunt! Come to me for your reward!"); quest::settimer(1,1800); } sub EVENT_TIMER { if ($timer == 1) { quest::stoptimer(1); quest::shout("Happy Halloween!"); quest::depop(); } } sub EVENT_SAY { if ($text=~/Hail/i && !defined $qglobals{halloween_candyman}) { $prize = int(rand(100)); quest::say("Here you go $name. Enjoy!"); quest::setglobal("halloween_candyman",1,0,"D30"); quest::summonitem(87312,10); # Item: Ginormous Jawbreaker quest::summonitem(85062); # Item: Bristlebane's Ticket of Admission quest::summonitem(85067,15); # Item: Haunted Candy Apples if($prize == 20){quest::summonitem(124688);} } if ($text=~/Hail/i && defined $qglobals{halloween_candyman}) { quest::say("Changing your costume isn't going to work! I already gave you your candy!"); } }
Source: 17 Jan 2022
Quest Source: 28 May 2022