client/script = {"
// Various css settings
macro
space return "Interact"
Return return "Say"
R return "Interact"
"}
Problem description:
I've searched and searched the forums now, but the most relevant posts to my issue seem to be from 2004, and no longer applicable.
In my macros, I've got some code to run a macro with an alphabet key, as you can see. The space and enter key macros work but the alpha key simply adds to the input text box. I tried setting the command_text of the client to ".alt " but this had no effect. I tried removing the input box entirely, and it still had no effect.
So... how do I get my R key macro to activate when I press R? I'm hoping I don't have to use the interface-based macro options, because then it's tied to the interface rather than my code, and that makes me sad.