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 08-04-2007, 06:38 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Just an option, but you should use the check_handins.pl plugin to check for handin success or failure.

Example:
Code:
if (plugin::check_handin(\%itemcount, 13128 => 1)) {
...do stuff...
}
Always end your EVENT_ITEM with:
Code:
plugin::return_items(\%itemcount);
and you won't lose items should something go wrong. You can do it the way you wrote it, too... but I think you might have a syntax problem around the $itemcount{###} <-- curlies instead of parens? Been a while since I've done it that way, can't remember if that's right.


Also, it is advisable in your EVENT_SAY to only check for exactly what you [bracket] in the previous text... while we're all used to having proper english conversations with our NPCs, it's likely they only cared about their [bracketed] word only.

Last edited by John Adams; 08-05-2007 at 02:41 AM..
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 12:56 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