tried that and didnt work ..... but what i wanna do is give free spells to people under say level 10.... so in all honesty that script would not work anyways
so i changed it to
sub EVENT_SAY
{
my $buffs = quest::saylink("buffs");
if($text=~/Hail/i)
{
quest::say("Greetings $name. Would you like some [$buffs]?");
}
if($text=~/buffs/i)
{
quest::selfcast(174);
quest::selfcast(3692);
quest::selfcast(2525);
quest::selfcast(144);
quest::selfcast(970);
quest::selfcast(356);
quest::selfcast(99

;
quest::selfcast(27

;
}
}
but if i add u level it becomes unusable