I'd like to add slash commands that call a character-specific function that I have in character specific macro include files. So for example, when on a ranger, typing /haste will activate marvelous visions, and when on a beastlord, it'll cast a haste spell. Similarly, /gate might go through a list of items on a melee, or just cast gate on a caster.
Is there a plugin that takes a config file to create slash commands tied to functions, or would i have to build a local plugin for myself?
Edit, adding for clarification if needed:
Currently, I load character specific include files like this:
And inside those, I'd like to have functions that get called from slash commands, e.g., /haste might be set up to call something like:
Just not sure if there's an easy way to tie those together.
Is there a plugin that takes a config file to create slash commands tied to functions, or would i have to build a local plugin for myself?
Edit, adding for clarification if needed:
Currently, I load character specific include files like this:
#include ${Me.Name}${Me.Class.ShortName}Functions.inc
And inside those, I'd like to have functions that get called from slash commands, e.g., /haste might be set up to call something like:
Sub Self_Haste
/useitem "Belt of Marvelous Visions"
/return
Just not sure if there's an easy way to tie those together.

