WoW:Creating a slash command: Difference between revisions
Jump to navigation
Jump to search
→Further Examples
(→Notes) |
|||
| Line 20: | Line 20: | ||
function AddonName_OnLoad() | function AddonName_OnLoad() | ||
SlashCmdList["ADDONNAME"] = | SlashCmdList["ADDONNAME"] = AddonName_SlashCmdHandler; | ||
SLASH_ADDONNAME1 = "/slash1"; | SLASH_ADDONNAME1 = "/slash1"; | ||
SLASH_ADDONNAME2 = "/slash2"; | SLASH_ADDONNAME2 = "/slash2"; | ||
| Line 45: | Line 45: | ||
SLASH_ADDONNAME1 = "/slash1"; | SLASH_ADDONNAME1 = "/slash1"; | ||
SLASH_ADDONNAME2 = "/slash2"; | SLASH_ADDONNAME2 = "/slash2"; | ||
== The Details == | == The Details == | ||