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 11-17-2009, 11:43 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default Help with item turn in quest

I need help with a simple turn in.

In the script below you can give npc one out of many possible items, and then I want npc to give it right back to you.
If this would be just 1 item, it would be easy...
Suggestions?

Code:
sub EVENT_ITEM 
{


	if(plugin::check_handin(\%itemcount, 1060 => 1) || 
	plugin::check_handin(\%itemcount, 1189 => 1) || 
	plugin::check_handin(\%itemcount, 1190 => 1) || 
	plugin::check_handin(\%itemcount, 1191 => 1) || 
	plugin::check_handin(\%itemcount, 1192 => 1) || 
	plugin::check_handin(\%itemcount, 1193 => 1)	)
	{
	quest::say("Yes I recognize this item");


	}


	else 
	{
	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 03:59 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