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
  #13  
Old 07-17-2008, 05:37 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Quote:
Originally Posted by JLB2414 View Post
Seems like I might of had a plugin problem, I grabbed updated versions and placed them in EQemu\plugins.

I then reduced sub EVENT_ITEM all the way him just wanting the item and then work my way up from there, but he still just eats everything, even if it's the right item.

Code:
sub EVENT_ITEM {  #1 open
	if (plugin::check_handin(\%itemcount, 1079 => 1)) { #2 open
		quest::exp(11);
		quest::summonitem(15036);
		quest::summonitem(15377);
		quest::summonitem(15378);
		quest::summonitem(15230);
    	          quest::summonitem(15376);
    } #2 closed
    elsif {  #3 opened
    	quest::say("I cannot provide the knowledge you seek, $name.");
    	quest::summonitem(1079); }
    }  #3 closed
    else { #4 opened
    	quest::say("You are no Wizard, and I know a Wizard when I see one!");
    	plugin::return_items(\%itemcount);
    } #4 closed
} #1 closed
Nope, relook at your code above... you didn't account for a closed bracket. What happens when you do my last event code? And yes, your elsif won't work like that. You must have a condition for an elsif.
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 04:17 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