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

Ok, apparently the above doesn't work but this does...

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

So, the programmer in me dies a little inside using all those if statements instead of else if but i can't seem to get the else to work without killing it entirely, so i'm not really sure.
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 02:15 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