View Single Post
  #1  
Old 11-24-2009, 08:08 PM
mraiford07
Fire Beetle
 
Join Date: Mar 2009
Location: kentucky
Posts: 8
Default need help with my translocator's .pl

ok so this looks right to me but for some reason each time i say the selected text it doesnt port to the zone or the cords listed for it and was wondering if maybe someone else would be able to spot what the problem is since i cant myself.

Code:
sub EVENT_SAY
{
if ($text =~/Hail/i)
 {
quest::say ("Oh how the days have grown weary and my joint's ache as if i've just awoken a deep slumber but in my dream there were these trials to test ones skills. I've recreated these trials if you'd like to prove yourself then let me know where you'd like to start.[fire][water][earth][air][undead] the choice is yours and only yours brave one.");
 }

if ($text =~/fire/i)
 {
quest::say ("$name , stand close to me while I teleport you to the trial of fire..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(223, -43,1615,495); 
 }

if ($text =~/water/i)
 {
quest::say ("$name , stand close to me while I teleport you to the trial of water..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(223, -55,1345,495); 
 }

if ($text =~/earth/i)
 {
quest::say ("$name , stand close to me while I teleport you to the trial of earth..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(223, -40,1115,495); 
 }

if ($text =~/air/i)
 {
quest::say ("$name , stand close to me while I teleport you to the trial of air..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(223, -57,860,495); 
 }

if ($text =~/undead/i)
 {
quest::say ("$name , stand close to me while I teleport you to the trial of the undead..");
quest::emote ("moves his hands as if chanting...");
quest::MovePC(223, -50,580,495); 
 }

}
Reply With Quote