Skip to content

Instantly share code, notes, and snippets.

@dblevins
Created July 31, 2009 01:11
Show Gist options
  • Save dblevins/159028 to your computer and use it in GitHub Desktop.
Save dblevins/159028 to your computer and use it in GitHub Desktop.
-- 1. Pick HELLOWORLD as the unique identifier.
-- 2. Pick /hiw and /hellow as slash commands (/hi and /hello are actual emotes)
SLASH_HELLOWORLD1, SLASH_HELLOWORLD2 = '/hiw', '/hellow'; -- 3.
function SlashCmdList.HELLOWORLD(msg, editbox) -- 4.
print("Hello, World!");
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment