Registers a new chat slash command, inserts a new event table into the Event.Slash hierarchy, and returns that table. If called multiple times with the same slash command, will return the same table each time.
Usage:
eventTable = Command.Slash.Register(slashCommand) |
Parameter | Type | Datatype | Description |
slashCommand | parameter | string | The name of the slash command to register. |
eventTable | result | table | The event table for your slash command. nil if the slash command could not be registered (usually because it conflicts with a built-in slash command.) Will return the same event table if used twice to register the same slash command. |
Addon-created event. No documentation available.
Usage:
Event.Slash.accounts(handle, ...) |
Parameter | Type | Datatype | Description |
... | ??? | <nope> | |
handle | ??? | variant | |
Addon-created event. No documentation available.
Usage:
Event.Slash.bag(handle, ...) |
Parameter | Type | Datatype | Description |
... | ??? | <nope> | |
handle | ??? | variant | |
Addon-created event. No documentation available.
Usage:
Event.Slash.enfilt(handle, ...) |
Parameter | Type | Datatype | Description |
... | ??? | <nope> | |
handle | ??? | variant | |
Addon-created event. No documentation available.
Usage:
Event.Slash.getopt(handle, ...) |
Parameter | Type | Datatype | Description |
... | ??? | <nope> | |
handle | ??? | variant | |