alter scope "travel"?

i was wondering which piece of a lua file would be responsible for in-scope automatic movement.

i’m not all too familiar with lua coding, but i can do very basic things.

thanks in advance.

This would get more help in the lua scripting forum.
http://www.facepunch.com/forumdisplay.php?f=65