Thanks for another reply
I have also been trying too work that out i din’t realise it had that many states i have only been using
Codes 1000,2000,3000,4000 but sometimes when you press the button eg 3000 it gets confused and things button 1000 has been pressed
its any button not certain buttons its like the action happens before the button code changes thats why i added a small thread:sleep but the problems there sometimes still