Console

Lets you interact with the console.

AddVariable

Adds a console variable (of CTString type) that the user can manipulate in the console.

This function takes 1 argument:

  • String name - The name of the cvar.

GetVariable

Returns the value of the cvar as a String.

This function takes 1 argument:

  • String name - The name of the cvar.

Exec

Execute a string in the console.

This function takes 1 argument:

  • String command - The command to execute.