Oh, he is probably picking up the "teach" in his own text. Here is a fix:
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.");
}
}
}
Going to work, so I can look at rest later if noone else replies by the time I get back.