Code:
Trigger Editor [9205]
1) Name : Worm Teleport
2) Intended for : Mobiles
3) Trigger types: Entry
4) Numeric Arg : 100
5) Arguments :
6) Commands:
wait 2 sec
eval room %self.room%
set target_char %room.people%
while %target_char%
set tmp_target %target_char.next_in_room%
if %target_char.is_pc%
%send% %target_char% The purple worm swallows you whole and rips you into the ground below.
%teleport% %target_char% 9204
%teleport% %self% 9204
wait 2 sec
%send% %target_char% As you emerge from the ground the worm spits you out at a different location.
wait 1 sec
%force% %target_char% look
else
return 0
end
set target_char %tmp_target%
done
W) Copy Trigger
Q) Quit
Enter Choice :
Thanks for the help. Here is a copy of the working trigger. I am going to change it so that it sends to a random room in the zone, but it's working as intended for now.