Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2004, 05:00 PM
bbum
Banned
 
Join Date: Apr 2004
Posts: 245
Default 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!");
}
Reply With Quote
  #2  
Old 06-20-2004, 10:06 PM
Minuss
Sarnak
 
Join Date: Jan 2002
Location: France
Posts: 58
Default

Hm, sorry forgot to use the code cmd, see below
Reply With Quote
  #3  
Old 06-20-2004, 10:06 PM
Minuss
Sarnak
 
Join Date: Jan 2002
Location: France
Posts: 58
Default

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
Reply With Quote
  #4  
Old 06-22-2004, 05:33 PM
bbum
Banned
 
Join Date: Apr 2004
Posts: 245
Default

u da man
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:26 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3