LibShorterSlash-1.0

  • 2 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Main stolenlegacy stolenlegacy Dec 05, 2011
LibShorterSlash is a slash command library that allows the end user to shorten their slash command input to the shortest possible match. For example, /youraddon config might be entered as /youraddon c as long as there is no other sub-command that starts with a 'c'. See the API page for details.
API stolenlegacy stolenlegacy Dec 05, 2011
Registering a slash command LibStub("LibShorterSlash-1.0"):RegisterCommand(slashTable,...) Arguments slashTable table A table containing the sub-command structure of the slash command. See below for details. ... list string A list of slash commands to register with the library. The slash command table Each entry of the slash command table needs two properties. One is "type", which specifies the type of the entry (group or handler). For handlers, the other is "handler", a function that will be...
  • 2 pages found