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 12-18-2008, 08:25 PM
Producer_BMW's Avatar
Producer_BMW
Hill Giant
 
Join Date: Jan 2008
Location: VA
Posts: 181
Exclamation How do I make this work ? (.pl)

sub EVENT_SAY {

if ($text =~/hail/i {
quest:::say ("hello $name , Which guild would you like to be in [blood] or [crip].");
}

if ($text =~/blood/i {
quest:::say (" there you go");
quest::guild set $name (1);

}
}

just a ruff draft on how i want it to look this one was just done from memory
any heelp would be bad ass
__________________
"From the deepest desires often come the deadliest hate.”
Reply With Quote
  #2  
Old 12-18-2008, 08:39 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

You posted this in the wrong forum, and it will likely be move. But the corrected script would look like this:

Code:
sub EVENT_SAY 
	{
	if($text=~/hail/i)
		{
		quest::say("hello $name , Which guild would you like to be in [blood] or [crip].");
		}
	if ($text =~/blood/i) 
		{
		quest:::say("there you go");
		quest::setguild(guild_id,rank);
		}
	}
Reply With Quote
Reply


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 11:02 AM.


 

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