I think this is what you are looking for... This is what I use for travel to these two zones (Abysmal Sea and Natimbi). But this can be used for what I assume you want to do.
Code:
sub EVENT_SAY {
if($text =~ /Hail/i)
{
quest::say("Greetings $name, The people of Taelosia need your help!!! If you would like to help the people of Taelosia, I can send you to the [abysmal sea] or to [Natimbi].");
}
if($text=~/abysmal sea/i)
{
if ($ulevel >= 50)
{
quest::say("Safe travels");
quest::movepc(279, 50,-159,140,48.8);
}
elsif ($ulevel <= 49)
{
$client->Message(13, "Sorry, You are not experienced enough to travel to the Abysmal Sea.");
}
}
if($text=~/Natimbi/i)
{
if ($ulevel >= 50)
{
quest::say("Safe travels");
quest::movepc(280,-1592,-718,247,4);
}
elsif ($ulevel <= 49)
{
$client->Message(13, "Sorry, You are not experienced enough to travel to the Natimbi.");
}
}
}