View Single Post
  #3  
Old 08-11-2006, 07:25 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Quote:
Originally Posted by jawa21
I edited out some of the classes to make the post fit, but the basic structure is the same.
Code:
sub EVENT_SAY {
   if ($text=~/Hail/i)
   {
   quest::say("Hi there. I'm here to [help] newcomers.);
   }
   elsif ($text=~/help/i){
   if ($mlevel >= 10)
Try

Code:
 if (($ulevel<="10")&&($text=~/Hail/i))
   {
   quest::say("Hi there. I'm here to [help] newcomers.);
   }

else if (($ulevel<="10")&&($text=~/help/i))

rest of your code...
That should check to see if they are less than or equal to level 10 and if not, not say anything or give anything...
Reply With Quote