ConsoleMessage

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function sends a message to the client's console.

Syntax

  1. ConsoleMessage( string text )

Arguments

  • text - This is the message to send to the player

Example

This will send messages saying 'Testing... when a client script is loaded.

  1.  
  2.  
  3. function onScriptLoad( )
  4. {
  5. ConsoleMessage( "Testing..." );
  6. return 1;
  7. }
  8.  

Notes

The call onScriptLoad was used in in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox