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
  #2  
Old 02-22-2008, 06:09 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Is the hail not working at all? usually this happens to me if I have an error in my quest. At least with the few that I've written. Try just running it on the command line, "perl quest_name.pl". That'll at least tell you if it's having trouble compiling and where.

This seems to work for me for the EVENT_ITEM. The first if takes a single item, and the other takes 3 items. Using it this way instead of the way you have it allows them to put the items in the give container in any order. Since you want more than one item type per hand in you'd use an && between them in the if, like the last one. Hope this helps.

Code:
if(plugin::check_handin(\%itemcount,13309=>1)) {
     quest::say("Blah blah blah");
     quest::summonitem(2140);
     quest::exp(1000);

  } elsif (plugin::check_handin(\%itemcount,17970=>3)) {
     quest::say("Different blah blah blah");
     quest::summonitem(2915);
     quest::givecash(1,2,3,4);
     quest::exp(1000);
  } elsif ((plugin::check_handin(\%itemcount,6019=>1) && (plugin::check_handin(\%itemcount,27536=>3)) {
    quest::say("Here ya go. $name.  Have fun!");
    quest::summonitem(1118);
  }
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 07:06 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