diff options
Diffstat (limited to '')
-rw-r--r-- | stdin.lua | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -121,4 +121,12 @@ stdin_commands = { print(bash_command) end end, + + ["SET_CHANNEL"] = function(con, msg, args) + cur_channel = args[1] + end, + + ["M"] = function(con, msg, args) + con:send(":1HC000000 PRIVMSG "..cur_channel.." :"..table.concat(args, " ").."\n") + end, } |