EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   can i get some help (https://www.eqemulator.org/forums/showthread.php?t=14457)

bbum 06-20-2004 05:00 PM

can i get some help
 
can someone show me this in an example of this being used with 2 different sayings one for higher lvl one for lower

Quote:

if(($ulevel < $mlevel) && ($mlevel >=10)){
quest::say("I'm higher than you!");
}

Minuss 06-20-2004 10:06 PM

Hm, sorry forgot to use the code cmd, see below

Minuss 06-20-2004 10:06 PM

Code:

sub EVENT_SAY
{
if($text=~/Hail/i)
 {
  if($ulevel>=x)
  {
    quest::say("I'm Higher Than you");
  }

  elsif($ulevel<=y)
  {
    quest::say("I'm lower than you...");
  }
 }
}

There ya go :)

bbum 06-22-2004 05:33 PM

u da man


All times are GMT -4. The time now is 01:31 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.