Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-23-2014, 12:44 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default

Quest worked fine for me. I tried it, but maybe something is different. The perl wiki still references:

Quote:
$ulevel # Returns the level of the user that triggered the Event.
So I'm not sure about that.
Quote:
but what i wanna do is give free spells to people under say level 10
In your previous example, it seemed you explicitly wanted to charge for them.

I just tried this, and it worked fine, with a level check, as well as an else telling them why it wouldn't work.

Code:
sub EVENT_SAY {
	if ($text=~/buffs/i) 
	{
		if ($ulevel <= 10)
		{
			quest::selfcast(174);
			quest::selfcast(3692);
			quest::selfcast(2525);
			quest::selfcast(144);
			quest::selfcast(970);
			quest::selfcast(356);
		}
		else
		{
			quest::say("I was going to give you buffs, but you're above level 10!");
		}
	}
}
__________________
https://www.project1999.com
Reply With Quote
 


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:05 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3