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 05-20-2008, 01:52 AM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default

thanks for the help guys, so how exactly would i write this to make it basically #repop the zone, after 45 mins of hailing the npc?
__________________
lol.
Reply With Quote
  #2  
Old 05-20-2008, 10:09 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

Code:
sub EVENT_SAY
{
	if ($text=~/hail/i)
	{
		quest::say("Hail $name!");
		if (!defined($qglobals{$zonerepop}))
		{
			quest::say("zone will depop in 45 mins!");
			quest::settimer("zrepop",888888);
			quest::setglobal("zonerepop",1,0,M45);
		}

	}
}

sub EVENT_TIMER
{
	if ($timer eq "zrepop")
	{
		quest::repopzone();
		quest::delglobal("zonerepop");
	}
}
just change the 8888888 to whatever 45 minutes would be..
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com

Last edited by Cripp; 05-26-2008 at 07:27 PM..
Reply With Quote
  #3  
Old 05-20-2008, 11:08 AM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default

Thanks for all the help!
__________________
lol.
Reply With Quote
Reply

Thread Tools
Display Modes

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