💬Chat

Table to work with chat.

GetChannels(): string[]

Returns an array of channel names.


Name
Type
Description

channel

string

The channel name to say the message in.

text

string

The message to say.

Print a message in a channel. This message will not be sent to the server.


Say(channel: string, text: string): nil

Name
Type
Description

channel

string

The channel name to say the message in.

text

string

The message to say.

Say a message in a channel.


Flip(channel: string): nil

Name
Type
Description

channel

string

The channel name to flip the coin in.

Flip the coin in a channel.


Roll(channel: string, min [?]: number, max [?]: number): nil

Name
Type
Description

channel

string

The channel name to roll the dice in.

min [?]

number

The minimum number to roll. (default: 0)

max [?]

number

The maximum number to roll. (default: 100)

Roll a dice in a channel.

Last updated