yes, but i am talking about a function that runs through engine_getscript.
If the function that runs through this contains a wait, it immediatly get terminated (without doing anything that's still in the function). Same happens with sys_exit and a string parameter, no string is displayed, engine just shuts down.