ID:141533
 

turf/teleport/teleportpasswordin//the name of our turf
Entered(mob/M)
if(istype(M,/mob))//is it a mob that entered?
M.loc=locate(/turf/teleport/teleportpasswordout)
(Separate turfs.)

turf/teleport/teleportpasswordout//the name of our turf
Entered(mob/M)
if(istype(M,/mob))//is it a mob that entered?
M.loc=locate(/turf/teleport/teleportpasswordin)


Im tryin go get it to were when u step onto this turf u have to type in a password for both turfs can someone help me out please?

You can create a turf var to hold its password and then call an input() proc upon Entered(). If the inputted text equals the password, re locate() them.
In response to Mizukouken Ketsu
well i guess it would work ill give it a try
In response to Christopher52488
Note: it may not be the most optimal way to do this task, but it should get the job done nontheless.