[resolved] in Developer Help
for(var/mob/M in get_step_to(usr,usr.dir,2))
get_step_to(usr,M,2)
for(var/mob/M in view(2))
for(var/mob/M in view(usr.dir,2))
You were checking the step between the usr and the usr which doesn't work..