Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function message(id, text)
- send_msg(id, text, ok_cb, false)
- end
- local function run(msg, matches)
- message(matches[1], matches[2])
- print(matches[1])
- print(matches[2])
- end
- return {
- description = "",
- usage = "",
- patterns = {
- "^!msg (user#id%d%d%d%d%d%d%d%d)%s(.*)$",
- "^!msg (chat#id%d%d%d%d%d%d%d%d)%s(.*)$"
- },
- run = run,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement