sys_msg [function]
sys_msg( int code, string message )
passes a message to the internal messaging system (one that's commonly used to report errors and warnings)
Different codes can be handled differently by the system. By default, SGS_ERROR code will stop execution and return to C code as soon as possible.
code
is the code to use to pass the message (ex. SGS_INFO, SGS_WARNING, SGS_ERROR)