Never tried this approach but the t6 utils has a couple things you could do
Debugging
crash(): Crashes the server.
breakpoint(message): Pauses the server's execution and shows a message box with the passed message and call stack.
assert(condition): Throws an error if condition is false.
then again ive never tried these but you could try them see if itll be something youd need
the base files could also have something to do what you need i just dont know of any function to do this other than from t6 utils!


