I want to create some macros for a server on Minecraft. One example would be /home. The server doesn't allow two of the same strings in a row to be sent, so if the last command I used was /home and I wanted to use it again, I'd usually do this:
- Press / (which opens the console and prefills a /)
- Press Enter to send it
- Press / again
- Type "home"
- Press Enter again to send the command
I'd like to make a macro that did all when I pressed ⌘ + H, but only if I was in Minecraft (and if possible, only on that particular server).