#
ec
Allows you to create and access an external console for various purposes.
#
Functions
ec.open()
- Opens the console window, allowing you to see messages.
ec.close()
- Closes the console window.
- No messages will be processed.
ec.active(): boolean
- Checks if the console window is currently active.
ec.title(name: string?): string?
- Sets the current title of the console window.
- If no input is given, returns the current window title.
ec.message(input: any...)
- Creates a message to the console window.
- Giving it a color will also change the text color.
- Do note that colors are limited.
ec.add(name: string, callback: function(args: string[], args_str: string, cmd: string))
- Adds a command callback to the external console.
ec.remove(name: string)
- Removes a command callback by name.