Is there a function within the global script to do a repeat execute in the global script, if so what would the function be called?
Interestingly enough it's called repeatedly_execute. There's also repeatedly_execute_always for actions you want to repeat even during blocking scripts.
So in the global script its called function repeatedly_execute
In every script except for room scripts. And if you'd like you can even name your rooms' repeatedly execute functions the same way.
Every script uses the repeatedly_execute_always function though, rooms included.