There seems to be something wrong with the way we are pasting the code in to your .pl file. You are getting extra spaces (possibly CRs). Try this text for the say event and after you paste it in, try to make it look like it does on the board.
Code:
sub EVENT_SAY {
if ($text=~/hail/i) {
if (($ulevel >= 4) && ($ulevel <= 7) && ($class eq "Wizard")) {
quest::say ("Ah, $name, you have returned, and growing stronger. I can [teach] you more, but this time for a price.");
}
else {
quest::say ("I have nothing to teach you at this time.");
}
}
elsif ($text=~/teach/i) {
if (($ulevel >= 4) && ($ulevel <= 7) && ($class eq "Wizard")) {
quest::say ("I knew you would be interested! Simply return to me with an Untranslated Initiate's Tome from a monster in the Feerrott and 15 gold. Then you shall feel the embrace of knowledge.");
}
else {
quest::say ("I have nothing to teach you at this time.");
}
}
}