xbot/mods/lua/README.md
2024-03-02 02:16:58 -06:00

515 B
Executable File

API

Lua Commands

raw(message)

Sends a raw message to the server.

privmsg(to, message)

Sends a message to a channel or user.

notice(to, message)

Sends a notice to a channel or user.

join(channel)

Joins a channel.

part(channel, reason)

Leaves a channel.

kick(channel, user, reason)

Kicks a user from a channel. Reason is optional.

mode(channel, mode, target)

Sets a mode on a channel.

ctcp(to, message)

Sends a CTCP message to a channel or user.