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
  #3  
Old 08-07-2007, 02:38 PM
Darkonig
Hill Giant
 
Join Date: Dec 2006
Posts: 102
Default

However, in your original post, the problems are because in the first example you used = instead of ==, resulting in assignment instead of comparison. In the second example you were assigning to a hash instead of checking it for existence and then testing the value.
Code:
if ($item1==5014) {
  quest::say("Ggrrr, I didn't need your help...");
  quest::exp(1000);
}

if (defined($itemcount{32638}) && $itemcount{32638} == 1) {
  quest::say("Excellent! This is enough to make a fine pair of gloves.");
  quest::exp(2500);
  quest::summonitem(2010);
}
Using the plugins is another option depending on what you are trying to accomplish. If you are planning to use the plugins, make sure you have them in the correct place in your server directory.
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 08:30 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