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 06-28-2005, 05:24 PM
Kensh
Fire Beetle
 
Join Date: Dec 2004
Posts: 7
Default

archive quests.. of course i dont look there. thanks Cisyouc

EDIT: oh btw.. i dont have a server to test this on up atm, so yould you see if this is the correct format for setting and using the global variable?
Code:
sub EVENT_SAY
{
	if($text =~/Hail/i && $lunch=="2")
		{
		quest::say(Thank you again for helping me return my lunch to my son.");
		}
	elsif($text =~/Hail/i)
		{
		quest::say("Hail, adventurer. I seem to be a bit [busy] at the moment, so if you could leave me alone i would be quite humbled.");
		quest::checkflag(59,5);
	if($text =~/busy/i)
		{
		quest::say("I'm glad you're interested in my problem, but i could not [ask] such a simple task of you.");
		}
	if($text =~/ask/i)
		{
		quest::say("Sigh, you seem to be unwavering about this decision. Fine, if i can't change your mind then here. My son Solerin has forgotten his lunch, it seems he took mine in his rush out of our house today, and i am far too busy to go give it to him. If you do not know [where] he is, then i would be happy to tell you.
		quest::summonitem(77769);
		}
	if($text =~/where/i)
		{
		quest::say("He usually hangs around that dirty beastlord Savarr, so you might start your search there.");
		}
}
sub EVENT_ITEM
{
	if($item1 == 77770 && $ulevel==1)
		{
		quest::say("I am glad to see that my son got the right lunch, please accept this as a small token of my gratitude, it's the least i can do.");
		quest::exp(110)
		quest::targlobal("lunch","2","Y7",699,$charid,4);
		}
	if($item1 == 77770 && $ulevel==2)
		{
		quest::say("I am glad to see that my son got the right lunch, please accept this as a small token of my gratitude, it's the least i can do.");
		quest::exp(770)
		quest::targlobal("lunch","2","Y7",699,$charid,4);
		}
	if($item1 == 77770 && $ulevel==3)
		{
		quest::say("I am glad to see that my son got the right lunch, please accept this as a small token of my gratitude, it's the least i can do.");
		quest::exp(2090)
		quest::targlobal("lunch","2","Y7",699,$charid,4);
		}
	if($item1 == 77770 && $ulevel==4)
		{
		quest::say("I am glad to see that my son got the right lunch, please accept this as a small token of my gratitude, it's the least i can do.");
		quest::exp(4070)
		quest::targlobal("lunch","2","Y7",699,$charid,4);
		}
	if($item1 == 77770 && $ulevel>=5)
		{
		quest::say("I am glad to see that my son got the right lunch, please accept this as a small token of my gratitude, it's the least i can do.");
		quest::exp(6710)
		quest::targlobal("lunch","2","Y7",699,$charid,4);
		}
}
thanks again

Last edited by Kensh; 06-29-2005 at 01:34 AM..
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 01:37 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