Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2012, 08:22 PM
Xiao's Avatar
Xiao
Sarnak
 
Join Date: Mar 2005
Location: Norrath
Posts: 30
Default Give LDoN points on a timer?

I have a script (posted below) that's supposed to give players LDoN points for idling in a zone. But it's not working. If anyone could throw a suggestion my way on this, I'd really appreciate it.

Code:
sub EVENT_ENTERZONE #WHEN PLAYER ZONES IN
{
	quest::settimer("ldon",300); #SET TIMER
}
sub EVENT_TIMER #WHEN THE TIMER GOES OFF
{
	if ($timer eq "ldon")
	{
		$client->Message(15, "You have been awarded 1 LDoN point for being in the Bazaar for however long."); #CLIENT MESSAGE
		quest::addldonpoints(1,1); #GIVE THEM LDON POINTS
		quest::settimer("ldon",300); #RESTART TIMER
	}
}
Reply With Quote
  #2  
Old 06-23-2012, 08:33 PM
Xiao's Avatar
Xiao
Sarnak
 
Join Date: Mar 2005
Location: Norrath
Posts: 30
Default

Ignore that, I don't know why it wasn't working but it is working just fine.
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 03:00 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3