Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-22-2009, 09:43 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I am pretty sure you can get away with just a single class check and depop message =)

put

if(($class eq 'Necromancer' || $class eq 'Shadowknight'))

right after

sub EVENT_SAY
{

and then check for player hails and text


here is my example of quest where npc FIRST check if she likes the player and only then allows the dialog choices

Code:
sub EVENT_SAY 
{ 


	if (($faction== 9) || ($faction < 6))

		{



	if($text=~/Hail/i)
	{

	quest::say("Hello, welcome to Longgrass Village");

	}



		}

	else
	{

	quest::say("Umm, why have you come here? I don't like you, and I don't think my father will neither. Please 
	leave our village."); 
	}

}
Reply With Quote
 

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 02:57 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