Thread: Level check
View Single Post
  #1  
Old 10-24-2010, 08:14 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default Level check

I'm just learning how to work with perl. I setup an npc in the PoK, that
ports you back to tutorialb, but this seems to overide the level rule on
the zone. (It sends an 85 toon there)
I was trying to find a way for the script to check for level (15 and higher)
and just give a message instead of porting the toon, if too high.

#zone: poknowledge

sub EVENT_SAY {
if ($text=~/hail/i || $text=~/leave/i) {
quest::say("Ok $name back to the Tutorial you go!");
quest::movepc(189,-105,-127,16);

}
}
Reply With Quote