if(src.loc==(src.x<=78 && src.x>=53 && src.y<=199 && src.y>=185 && src.z==2))
src.loc=locate(/turf/trainingteleports/backtogym)
Problem description:Ok so I have a area of the game that's made so only 1 person can go in for a set amount of time. Well what's happening is that people currently go into the room, relog, and stay in the room infinitely, or even have multiple people able to go in. What i'm trying to make happen is when people log in, and are inside the room, will get re-located outside the room. if someone could either help me get the code above correct, that would be awesome. If it happens to be correct.. possibly i have the code in the incorrect spot.
if(src.loc == locate(x, y, z))
Compare your current location to the location you want to check.