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
  #3  
Old 12-07-2008, 02:49 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

im not using any locals just quest

here is a sample script all the scripts look like this for this quest line but the zone name is diff for each

this one for example will unlock chardok then in chardok is the same script bu ikkinz is the one unlocked.. but for example the one before this that should unlock tipt keeps running this one but this on is in tipt no podisease where this one runs from.

Code:
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
if (defined($qglobals{chardok})) {
quest::say("Thank you for freeing me, You already have the flag $name.");
}
else
{
quest::say("Thank you for releasing me. As a reward I will give you access to a place with riches beond your dreams.");
$client->Message(15, "You have received a character flag");
quest::setglobal("chardok", 1, 5, "F");
quest::settimer("bye", 60);
}
}
}
sub EVENT_TIMER
{	
	if($timer eq "bye")
	{
		quest::stoptimer("bye");
		quest::depop(); 
	}
}
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 12:43 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