Thread
:
Aggravated - HELP (please :) )
View Single Post
#
4
09-01-2007, 01:25 PM
sfisque
Hill Giant
Join Date: Oct 2006
Posts: 248
the error is in the operator.
"==" is for numeric comparison, "eq" is for string comparison.
your if should read:
Code:
if($text=~/hail/i && $class eq 'Warrior' ) { # do some work in here }
== sfisque
sfisque
View Public Profile
Send a private message to sfisque
Find all posts by sfisque