View Single Post
  #11  
Old 09-05-2004, 08:17 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Warrior is a String and $class returns a string, thus you need quotes.

There was a debate about wheter to use == or eq to check equality, and smogo finally came forth and said == works for it. so i won't disagree with him =/

try out this.

Code:
if($class == "Warrior")
 {
   quest::say("Your a Warrior!");
 }
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote