I made one code and I am almost happy with how it works:
I would like to add there LButton spam only if the LButton is pressed for a time longer than 100 ms. In the same time it should anyway spam L every 25-50 ms as seen above.
Also I would like to make a code which allows the same longer press function for keyboard F button. When i press it for less than 100 ms it should just click F, but after 100 ms it should spam F until I release it.
Please help me with that so I could give you the blessing of a sacred duck.