I was simply wondering if it is possible to use a variable in place of a keyboard key for a macro.
I know you can make a macro like this:
1 return "skill1"
and have skill1 change based on user input, but I would rather it the other way around so the user can define which button is pressed to activate skill1.
Copyright © 2024 BYOND Software.
All rights reserved.
The gist is that you tie each macro to a static verb, but the verb takes arguments and depending on the settings, will call the proper proc that's been mapped to it. There's a dozen ways of accomplishing this, but soft coding is definitely the best way to go. Remember that when you call verbs from macros, you can still have them accept arguments. That's the key to make it as non-repetitive as possible. You don't need an individual verb for each button.