EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   $class == warrior? (https://www.eqemulator.org/forums/showthread.php?t=15487)

hypershadow66 08-22-2004 03:54 PM

$class == warrior?
 
Sorry. was fixed =/

Cisyouc 08-22-2004 03:59 PM

Re: $class == warrior?
 
Quote:

Originally Posted by hypershadow66
The lines are this

Code:

}
 if (($itemcount{22} == 4) && ($class == WARRIOR))
{
quest::say("Thank you Warrior for your help.  Here is a mighty sword for your troubles!");
quest::summonitem(23);
}
 if (($itemcount{22} == 4) && ($class == CLERIC))
{
quest::say("Thank you Cleric for your help.  Here is a mighty mace for your troubles!");
quest::summonitem(24);
}

but it doesnt work? The class names where tried in all caps/lower caps, etc. and still didnt work. What should be done to fix this?

Try:
Code:

}
if($itemcount{22} == 4)
  {
  if($class == Warrior)
    {
    quest::say("Thank you warrior for your help. Here is a mighty sword for your troubles.");
    quest::summonitem(23);
    }
  if($class == Cleric)
    {
    quest::say("Thank you cleric for your help. Here is a mighty mace for your troubles.");
    }
  }
}
#
#Last } closes sub EVENT_SAY so remove it if not done
#



All times are GMT -4. The time now is 03:39 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.