Introducing ChannelScript

One of the most powerful features of the ChatStyle platform is the ability to create and share custom chatops commands. The language we developed to build these commands is called ChannelScript.

ChannelScript is a modified version of JavaScript, or more specifically, ECMAScript. It currently supports all ECMAScript 3 and ECMAScript 5 features, but it adds capabilities to make it easy to connect to systems like your PSA, databases, web services, and other systems you want to connect to each other using chatops.

Here is the simplest block of ChannelScript you can use to build a chatops command.

Chat.sendText('Hello world!');

That sends a message back to the source of the chatops command saying “Hello world!”.

Powered by BetterDocs