System library ​
No description available
Classes ​
Functions ​
mnscript
number System.ClockSpeed() - Gets the computer's clock speed.
- Returns the IP of the terminal
mnscript
number System.GetPeripheralCount() - Returns the number of peripherals connected (directly or indirectly) to the terminal
mnscript
number System.GetPeripheralTypeCount(string) - Returns the number of connected peripherals with the given type (directly or indirectly)
mnscript
Process[] System.GetRunningProcesses() - Gets a list of all running MNScript processes.
- Returns the Player using the terminal
mnscript
string System.GetUserName() - Returns the username logged in to the terminal
mnscript
string System.GetUserSteamID() - Returns the SteamID for the account logged in to the terminal
mnscript
bool System.HasPeripheral(string) - Returns whether a peripheral with the given type is connected to the terminal
- Returns whether the system is a kiosk.
- Returns whether the terminal is locked or not.
mnscript
bool System.IsProcessRunning(string) - Gets whether a process with the given Id is running.
- Returns whether the system is a server.
mnscript
System.Lock() - Locks the terminal.
mnscript
System.OpenWebpage(string) - Opens the web browser and loads the given URL
mnscript
number System.ProcessRuntime(string) - Gets the runtime of a process with the given Id.
mnscript
System.RunCommand(string) - Runs a console command
mnscript
System.Shutdown() - Shuts down the terminal
- Pauses the program for the given time
mnscript
bool System.StartProcess(string, string) - Executes a MNScript .mscx file
mnscript
number System.StopAllProcesses() - Closes all active MNScript processes.
mnscript
bool System.StopProcess(string) - Stops an MNScript process with the given name.
- Returns a highly accurate time since start up
- Returns the current system Unix time
