I want to make a group of pvp keys that deactivate when i try to narrate, say something, chat and then activate again when I press enter. I have done the second part, by using a function that triggers on data send event.
I have tried to do the first part, by having the first key (for example, pressing n) deactivate the key, append on the cmd line.
The problem is, that when I start a word with using the specific key, it will append the letter, instead of replacing the previous command.