Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2009, 09:31 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,505
Default

You will need some elsif statements. Otherwise, it will go through each check even if it satisfies the first check.
Reply With Quote
  #2  
Old 02-04-2009, 09:33 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Lol, ok where do I add the elseif statements? I tried putting them somewhere and now he just keeps the items.
Reply With Quote
  #3  
Old 02-04-2009, 10:42 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

ok no matter what I seem to do, I will get some problems. I removed all the else statements to return items except the one at the end, but then the only on I could summon was the bracer. Can anyone tell me how to fix this?
Reply With Quote
  #4  
Old 02-04-2009, 11:39 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Ok i added in a bit from one of Trevius's codes which made it work perfectly. I just added
Code:
if ($class == 'Warrior' || $class == 'Rogue' || $class == 'Monk' || $class == 'Berserker' || $class == 'Shadowkight' || $class == 'Paladin' || $class == 'Ranger' || $class == 'Bard' || $class == 'Beastlord' || $class == 'Cleric' || $class == 'Druid' || $class == 'Shaman' || $class == 'Wizard' || $class == 'Mage' || $class == 'Enchanter' || $class == 'Necromancer') {
to everything and it fixed it.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:04 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3