WoWInterface - View Single Post - Slash command functions help
View Single Post
06-18-21, 03:34 PM   #1
A Defias Bandit
Join Date: Jun 2021
Posts: 3
Slash command functions help


I have written an addon for a simple text based game, which has several functions. I would like these functions to be callable by doing something like this:

/addonname nameoffunction argument

- The / command documentation i've seen doesn't seem to allude to how this can be done, so i'm a bit stuck (trying to google) I know it's possible as DBM does something similar, and i'm trying to search through that to find out how it's done but it's a huge addon, and i'm quite new to Lua.

Is there any guide on how to do this? Or can somebody help me figure this one out?

  Reply With Quote