I'm trying to do something like this...
Code: Select all
/custombind set MacroAndStuff /multiline ; /if (!${Macro.Name.Equal[mymacro.mac]}) /macro mymacro ; /otherstuff
So that if I use the keybind, my macro is called only if it's not already running (I don't want to lose state information, or do the startup overhead again) but when called like this ${Macro} seems to always return NULL. The ${Macro} variable works fine when echoed or referenced in my HUD.ini, so I guess it has something to do with how binds work, or with multiline (I guess I could test multiline..hadn't thought of it until just now)
At any rate is there another/better way to do this? I tried some forum searching but didn't find anything too enlightening.