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 12-20-2009, 11:24 PM
mastajon
Sarnak
 
Join Date: May 2008
Posts: 70
Default Item turn in gives task

I am working on a task that requires players to turn in an item to even start it, then later on they turn in another item to get the next part. here is what i have. Is this the correct way to do it, because i do not want players being able to start the task without turning in the needed items.

sub EVENT_ITEM{

if (plugin::check_handin(\%itemcount, 13008 => 1)){ #checks for mead turnin
quest::say("Ah a nice brew, I've been waiting for this for awhile, I would've got one myself but I am not about to do anything that requires work. Since you were so kind to get me this brew I shall reward you with this [$saylink5].");
}

if ($text =~ /platinum coin of metzger/i) {
quest::say("HAHAHAHAHAHAHAHAHA!!! Did you really think I would just give you that? Oh you should have seen the look on your face, it was priceless. But seriously I want you to go out and create my seal to prove to me that you are worthy of such reward.");
quest::taskselector(35);
}
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 09:32 PM.


 

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