Thread: Level check
View Single Post
  #2  
Old 10-24-2010, 09:43 AM
covou
Sarnak
 
Join Date: Jan 2006
Posts: 31
Default

Something like this should work

Code:
sub EVENT_SAY  {
if ($text=~/hail/i || $text=~/leave/i)  {
if($level < 15) {
quest::say("Ok $name back to the Tutorial you go!");
quest::movepc(189,-105,-127,16);
}
else {
quest::say("Sorry $name but you are too experienced to venture here.");
}
}
}
Reply With Quote