๐ŸŽฎConsole

These are all of the functions revolving the console that Wave supports.

Clear

<void> rconsoleclear(<void>)
  • Clears all text from the console.


Close

<void> rconsoleclose(<void>)
  • Closes the console.

Alternative: rconsoledestroy


Create

<void> rconsolecreate(<void>)
  • Creates a new console window for logging and interaction.


Debug

<void> rconsoledebug(<string text>)
  • Prints a debug message to the console in a distinct debug color/style.


Error

  • Prints text into the console, with [ERROR] written before it.


Info

  • Prints text into the console, with [INFO] written before it.


Input

  • Yields the current thread until the user inputs text and presses Enter. Returns the input they put in.


Name

  • Sets the console's title to title.

Alternative: rconsolesettitle


Print

  • Prints text into the console.


  • Prints message into the internal and integrated console with RGB value.


Console Colors:

Name
Type

Black

@@BLACK@@

Blue

@@BLUE@@

Green

@@GREEN@@

Cyan

@@CYAN@@

Red

@@RED@@

Magenta

@@MAGENTA@@

Light Gray

@@LIGHT_GRAY@@

Dark Gray

@@DARK_GRAY@@

Light Blue

@@LIGHT_BLUE@@

Light Green

@@LIGHT_GREEN@@

Light Cyan

@@LIGHT_CYAN@@

Light Red

@@LIGHT_RED@@

Light Magenta

@@LIGHT_MAGENTA@@

Yellow

@@YELLOW@@

White

@@WHITE@@

Example:

You must use \n at the end of rconsoleprint to make a new line.

rconsoleinfo, rconsolewarn, and rconsoleerr do this automatically.


Last updated