Skip to main content

Chat Window Tips

The in-game chat window has three built-in commands to allow for more efficient use.

Change the default channel - %channel

By default, messages typed in the chat window get sent to 0000. To change this, type %<channel> into the chat window. For example, typing %n00bz will send all future messages to the n00bz channel.

Select a specific user - +user

To use the chat window to chats.tell messages to a particular user, you can type +<user> into the chat window. For example, typing +risk will send all future messages to the user risk.

Use a custom script - &custom.script

By default, typing a message into the chat window will pass it into chats.send using the msg parameter (with the default channel passed using the c parameter), so that typing Hello world! into the chat window will execute chats.send {c:"0000", msg:"Hello world!"}.

You can change this script to anything you like, using %<your.script>. For example, if the user risk wants to change the color of their chat messages to green, they can create a script like risk.chatcolor that accepts c and msg parameters, adds `L to the start of the message and ` to the end, then calls chats.send to send the color-coded message. Now, risk can type &risk.chatcolor into the chat window, and make all their future chat messages green by default.