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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-13-2013, 11:45 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

No idea what in the hell you are trying to achieve here but you have basic script errors going on here:

- You can't declare your variables as my inside of a sub event if you want to reference them in another sub event because they become localized
- You don't have a bracket finishing off EVENT_SAY

Code:
sub EVENT_SAY {
	$Warriora = quest::varlink(101229);
	$Clericbb = quest::varlink(83935);
	$Paladinc = quest::varlink(83937);
	$Monk =  quest::varlink(83936);
}
	
sub EVENT_SPAWN {
	quest::settimer("dreadlands5min",300); #Live like is 900
}

sub EVENT_TIMER {
	if ($timer eq "dreadlands5min") {
		quest::stoptimer("dreadlands5min");
		quest::say("The portal to Luclin will become active in five minutes. Please begin gathering at the Spires if you wish to travel.rewards[$Warriora]-[$Clericbb]-[$Paladinc]-[$Monk]");
		quest::settimer("dreadlands3min",120);
	}
	if ($timer eq "dreadlands3min") {
		quest::stoptimer("dreadlands3min");
		quest::say("As a reminder, the portal will become active in three minutes rewards[$Warriora]-[$Clericbb]-[$Paladinc]-[$Monk].");
		quest::settimer("dreadlands2min",60);
	}
	if ($timer eq "dreadlands2min") {
		quest::stoptimer("dreadlands2min");
		quest::say("Two minutes till teleportation. Please be prepared to step inside the circle of Spires. rewards[$Warriora]-[$Clericbb]-[$Paladinc]-[$Monk]");
		quest::settimer("dreadlands1min",60);
	}
	if ($timer eq "dreadlands1min") {
		quest::stoptimer("dreadlands1min");
		quest::say("One minute till teleportation. Please be prepared to step inside the circle of Spires. rewards[$Warriora]-[$Clericbb]-[$Paladinc]-[$Monk]");
		quest::settimer("dreadlandstimer",60);
	}
	if ($timer eq "dreadlandstimer") {
		quest::stoptimer("dreadlandstimer");
		quest::say("The portal to Luclin is about to become active. Please stand inside the circle of Spires and have a shard upon your person. rewards[$Warriora]-[$Clericbb]-[$Paladinc]-[$Monk]");
		quest::setglobal(nexus_dre,1,3,"S60"); #when the portal is open, global is set true for 1 min.
		quest::settimer("dreadlands5min",900);
		quest::signalwith(86051,101,0); #triggers the flavor
	}
}
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 06:55 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