Skip to content

Console library ​

No description available

Functions ​

mnscript
Console.Clear() 
  • Clears the terminal console
mnscript
string Console.GetCurrentDirectory() 
  • Gets the current directory of the Maxnet terminal
mnscript
string Console.GetTextEditorText() 
  • Gets the last known text near the carat of the code editor.
mnscript
string Console.ReadLine() 
  • Waits for console input and returns it once received
mnscript
bool Console.SetCurrentDirectory(string) 
  • Sets the current directory of the Maxnet terminal
mnscript
Console.WriteLine(any) 
  • Writes a line of text to the terminal console