well this is my translocator quest the start of it but it doesn't work im new to perl so can someone tell me what im doing wrong, my idea is to have east commons as a congregation point translocators all over the realm will port to that zone in EC tunnel
now when you hail the guy he responds but when you sain mainland nothing happens.
Code:
sub EVENT_SAY{
if ($text=~/Hail/i){
quest::emote("Greetings, Do you wish to travel to the [mainland] or to [Kunark] and do remember to seek out the soul binder to anchor your body to the new location");
}
if($test=~/mainland/i)
{
quest::movepc(22, -1571, -176, 3);
}
}