Create Input:
Create a Map:
Here’s the script reacting to a key sequence:
It reads pressed keys and accumulates their values in a string. It then looks for a matching string in the Map. If found, it executes; if the search exceeds 4 keys, it resets the whole thing and waits for 1s before it can be used again. Seems to work well.