Hi, I would like to know if anyone has any ideas how I could make my script do different things depending on the time I stay pressed on a FX (where X is between 1 and 12) key.
If I stay longer than a second then it opens a dialog, if it's under a second then it kicks someone for example.
I don't think this is possible, maybe if I work with "one press" "two press" it's possible. That is to say, the first time I press down the key, it waits a second. If I press it again, then it does something different than if I don't press it again within the one second lap of time.
Thank You in advance for any help, if ever you have understod me lol