check for missing ;
I allready see one missing after
quest::say("Sorry young $class, I am afraid you are too young still, please return to me when you are level 46.")
and yes double () around insides of ifs and elses
if (($text=~/Hail/i) && ($ulevel <=46))
|