Skip to content

Instantly share code, notes, and snippets.

@dmillerw
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmillerw/305d1b620e185ee64188 to your computer and use it in GitHub Desktop.
Save dmillerw/305d1b620e185ee64188 to your computer and use it in GitHub Desktop.
-- notify command script
function join(array)
return table.concat(array, " ")
end
local args = split_args
local user = args[1]
args.set(1, nil)
local message = join(args)
storage.setf(user, message)
channel.send("Okay, I'll give " .. user .. " your message")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment