-1:000000000000 | 0:ae83411a89c9 |
---|---|
1 return function (opts, arg) | |
2 if #arg == 0 or opts.help then | |
3 return 0; | |
4 end | |
5 local function on_connect(conn) | |
6 conn:send(verse.message({ to = opts.to, type = opts.type or "chat" }):body(table.concat(arg, " "))); | |
7 conn:close(); | |
8 end | |
9 clix_connect(opts, on_connect); | |
10 end |