I've just taken a quick look at a couple of macro libraries and thought I had the solution to my wanting to add macros @ runtime, problem.
Whilst both Kakashi24142's and SqueakyReaper's libs "WORKED", they didn't actually add to the user's macro list (accessed by pressing F1)
Is there a way to add to said list? Or is that something that's protected so that developers don't screw with players' verbs?
And lastly, I'm guessing if I can't edit the list directly like that, the solution is to save what button does what as a list; then load the list of hotkeys @ login?
(for reference Im trying to create a simple way to set hotkeys from the game's menu - and will be doing so by displaying a picture of a keyboard and players will click the key they want to use, and select if they want repeat, on release, shift, alt, etc. But if anyone knows of a way to recreate the built in macro setting system (difference being I provide the command string & the player only chooses the key), I'd like to know. :)
Nov 1 2011, 11:53 am