xbot/mods/lua
2024-03-02 02:11:50 -06:00
..
events.c lua module working on windows 2024-02-29 20:49:33 -06:00
handlers.c lua module now loading/unloading scripts 2024-02-27 02:37:29 -06:00
init.lua test 2024-02-29 04:54:18 -06:00
lua.c lua module working on windows 2024-02-29 20:49:33 -06:00
lua.h more work on lua module 2024-03-02 02:11:50 -06:00
make.bat more work on lua module 2024-03-02 02:11:50 -06:00
Makefile more work on lua module 2024-02-27 01:16:58 -06:00
README.md more work on lua module 2024-03-02 02:11:50 -06:00
scripts remove temp files 2024-02-29 23:22:07 -06:00
wrappers.c more work on lua module 2024-03-02 02:11:50 -06:00

API

Lua Commands

raw(message: string)

Sends a raw message to the server.

privmsg(to: string, message: string)

Sends a message to a channel or user.

notice(to: string, message: string)

Sends a notice to a channel or user.

join(channel: string)

Joins a channel.

part(channel: string)

Leaves a channel.

kick(channel: string, user: string, reason: string)

Kicks a user from a channel. Reason is optional.

mode(channel: string, mode: string, target: string)

Sets a mode on a channel.

ctcp(to: string, message: string)

Sends a CTCP message to a channel or user.