Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2011, 07:28 AM
Durge
Sarnak
 
Join Date: Jan 2010
Location: USA
Posts: 51
Default Question about Epic 1.5 Turn-In Quest

I was just wondering, I made a quest for an epic 1.5 turn-in and for some reason it's not giving the player the token, maybe someone could take a look?
Code:
sub EVENT_SAY #Start of the talking dialogue
{
	my $Epic = quest::saylink("Epic") #Creates a clickable say link for $Epic
	
	if($text=~/hail/i) #If the text equals "hail"
	{
		$client->Message(15, "Hello $name, you have caught me at a bad time, I am currently in the process of completing an item that will indeed be [$Epic]."); #Message
	}
	if($text=~/epic/i) #If the text equals "epic"
	{
		$client->Message(15, "Interested are you? Well, I might have some use of you. If you can give me your Epic 1.5, then I can give you a token."); #Message
	}
}
	
sub EVENT_ITEM #Turning in the Epic 1.5
{
	if(plugin::check_handin(\%itemcount, 60332 => 1)) #This is handing in the Warrior Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 52348 => 1)) #Handing in the Rogue Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 67742 => 1)) #Handing in the Monk Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 18609 => 1)) #Handing in the Berserker Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 48136 => 1)) #Handing in the Shadowknight Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 48147 => 1)) #Handing in the Paladin Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 62647 => 1)) #Handing in the Ranger Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 77640 => 1)) #Handing in the Bard Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 57054 => 1)) #Handing in the Beastlord Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 20076 => 1)) #Handing in the Cleric Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 62880 => 1)) #Handing in the Druid Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 57045 => 1)) #Handing in the Shaman Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 16576 => 1)) #Handing in the Wizard Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 19839 => 1)) #Handing in the Magician Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 52962 => 1)) #Handing in the Enchanter Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	if(plugin::check_handin(\%itemcount, 64067 => 1)) #Handing in the Necromancer Epic 1.5
	{
		quest::summonitem("1661"); #Token
		quest::emote("Checks the quality"); #An emote
		$client->Message(15, "Indeed, this is what I'm looking for, here is your token."); #Message
	}
	else
	{
		$client->Message(15, "Why on earth would I want this?"); #Message
		plugin::return_items(\%itemcount);
	}
}
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3