Iwasseridium |
03-05-2009 01:31 AM |
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)
}
|
|