os.exit
Lua function os.exit Summary Attempts to terminate the process Prototype `os.exit (n)` Description `Terminates the host program with the return code n (in standard Lua). However, os.exit is does not do that in MUSHclient. It will raise an error if called ("'os.exit' not implemented in MUSHclient"). This is because doing an immediate exit bypasses all checks to save open documents, save plugin states, and so on.` See Also ... Topics Lua base functions Lua bc (big number) functions Lua bit manipulation functions Lua coroutine functions Lua debug functions Lua io functions Lua math functions Lua os functions Lua package functions Lua PCRE regular expression functions Lua script extensions Lua string functions Lua table functions Lua utilities Scripting Lua functions os.clock (Amount of CPU time used) os.date (Formats a date/time string) os.difftime (Calculates a time difference in seconds) os.execute (Executes an operating system command) os.getenv (Returns an operating system environment variable) os.remove (Deletes a file) os.rename (Renames a file) os.setlocale (Sets the current locale to the supplied locale) os.time (Returns the current time or calculates the time in seconds from a table) os.tmpname (Returns a name for a temporary file) (Help topic: lua=os.exit) Documentation contents page