Hello there, having some issues with a script to make macros easily from command line.
I match on #macro {*} {*}, and it works fine using:
The only issue i get is when i want to include a variable in the macro, such as
Any help is appreciated ;)
I match on #macro {*} {*}, and it works fine using:
string.gsub("%2", "+", "_")
macro_key=%1
macro_value=%2
AddAlias(macro_key, macro_key, macro_value, alias_flag.Enabled + alias_flag.OmitFromLog + alias_flag.OmitFromOutput, "");
AcceleratorTo(macro_key, macro_value, 10)
ColourNote("red", "white", "".. macro_key .." now executes ".. macro_value ..".")
The only issue i get is when i want to include a variable in the macro, such as
#macro {alt+f} {c @heal}
Any help is appreciated ;)