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 03-05-2009, 01:31 AM
Iwasseridium
Fire Beetle
 
Join Date: Mar 2009
Location: fsdgfsfgsagfasd
Posts: 24
Default Wont respond to hail?

I am trying to make a simple quest bot to teleport to 2 places and say one context of text and I set it up and he wont respond to hail but he will move in the direction you stand, could a pro help me out please and let me know where I have gone wrong, thanks.


Quote:
#############
#Quest Name: porter sebilis/mistmoore
#Zone: unrest
#Author: me
################

sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say ("Hey there, $name. I see your tired of the weak mobs in this zone, there are 2 options for you to choose from, I can send you to [sebilis] or I can send you to a Castle called [mistmoore] the [choice] is your's my friend.");
}
if($text=~/choice/i)
{
quest::say("I must tell you young traveller that Castle Mistmoore is not the place it once used to be it seems the zone has been taken over by some kind of dark evil force, there was once a time I would set foot in the zone but after what I seen I aint never going back so fair warning to you friend.");
}
if ($text =~/sebilis/i)
{
quest::say ("Enjoy your adventure!");
$client->Message(6, "Drakkin Darkflesh casts a spell to translocate you to another place.");
quest::movepc(89, 0,235,40);
}
if ($text =~/sebilis/i)
{
quest::say ("Enjoy your adventure!");
$client->Message(6, "Drakkin Darkflesh casts a spell to translocate you to another place.");
quest::movepc(59, 123,-295,-177); }
if ($text =~/mistmoore/i)

}
Reply With Quote
  #2  
Old 03-05-2009, 02:35 AM
Justsomeguy
Fire Beetle
 
Join Date: Apr 2005
Posts: 7
Default

Looks like you should have used one of the sebilis statements as mistmoore:

Code:
#############
#Quest Name: porter sebilis/mistmoore
#Zone: unrest
#Author: me
################

sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say ("Hey there, $name. I see your tired of the weak mobs in this zone, there are 2 options for you to choose from, I can send you to [sebilis] or I can send you to a Castle called [mistmoore] the [choice] is your's my friend.");
}
if($text=~/choice/i)
{
quest::say("I must tell you young traveller that Castle Mistmoore is not the place it once used to be it seems the zone has been taken over by some kind of dark evil force, there was once a time I would set foot in the zone but after what I seen I aint never going back so fair warning to you friend.");
}
if ($text =~/sebilis/i)
{
quest::say ("Enjoy your adventure!");
$client->Message(6, "Drakkin Darkflesh casts a spell to translocate you to another place.");
quest::movepc(89, 0,235,40);
}
if ($text =~/mistmoore/i)
{
quest::say ("Enjoy your adventure!");
$client->Message(6, "Drakkin Darkflesh casts a spell to translocate you to another place.");
quest::movepc(59, 123,-295,-177); 
}
}
Reply With Quote
  #3  
Old 03-05-2009, 04:40 AM
Iwasseridium
Fire Beetle
 
Join Date: Mar 2009
Location: fsdgfsfgsagfasd
Posts: 24
Default

Wow that's a doh... thanks for the help.
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 05:07 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