Help with NPC script
Greetings all,
I have searched the threads for quite a while and haven't found any help with what I'm trying to do. Basically my goal is to have an NPC set up so that if you are below level 65 he tells you to go fly a kite when you hail him, but if you are level 65 or higher he'll give you the quest. It seems simple enough but it doesn't work. If anyone could toss me a few pointers I would appreciate it, thanks. Here is the code for the part where he tells you go fly a kite if you're under 65:
sub EVENT_SAY
{
if($ulevel < 65) && ($text=~/hail/i){quest::say("You appear to be a hearty adventurer, $name, but I'm afraid you aren't of use to me just yet. Come back when you've reached your 65th level of training and we'll talk.");}
}
|