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-20-2006, 05:39 PM
Zengez
Hill Giant
 
Join Date: Nov 2004
Posts: 160
Default

Ok, reading other threads i've modified it to

sub EVENT_ITEM
{
if ($itemcount{8205} == 1)
{
if ($class eq 'Warrior'){quest::summonitem ("60332");}
else if ($class eq 'Cleric'){quest::summonitem ("20076");}
else if ($class eq 'Paladin'){quest::summonitem ("48147");}
else if ($class eq 'Ranger'){quest::summonitem ("62649");}
else if ($class eq 'Shadowknight'){quest::summonitem ("48136");}
else if ($class eq 'Druid'){quest::summonitem ("62880");}
else if ($class eq 'Monk'){quest::summonitem ("67742");}
else if ($class eq 'Bard'){quest::summonitem ("77631");}
else if ($class eq 'Rogue'){quest::summonitem ("52348");}
else if ($class eq 'Shaman'){quest::summonitem ("57405");}
else if ($class eq 'Necromancer'){quest::summonitem ("64067");}
else if ($class eq 'Wizard'){quest::summonitem ("16576");}
else if ($class eq 'Magician'){quest::summonitem ("19092");}
else if ($class eq 'Enchanter'){quest::summonitem ("52962");}
else if ($class eq 'Beastlord'){quest::summonitem ("57054");}
else if ($class eq 'Berserker'){quest::summonitem ("18609");}
}
}

That works for the first line if i delete everything else, but when I add in the 'else if' 's nothing at all works (including if i'm a warrior) so.. I'm pretty well confused but i'll keep beating my head upon it till someone can let me know what the obvious thing i'm missing is
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:24 AM.


 

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