ID:1677684
 
(See the best response by LordAndrew.)
Code:


Problem description:Pretty much the description. I once one day knew how to do it, but now i dont.

Best response
You could check to see if the next location they're about to step on exists, and if not then they've reached the edge of the map:

var turf/t = get_step(src, src.dir)

if (!t)
world << "No turf exists in front of you."