In your code 0@ was used for 2 different purposes, and it got overwritten by ID instead of holding boolean state.
In the code below 0@ is used to hold ID of player, 2@ is used to prevent the spam. Btw I didn't test the code
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA:
// 2@ = is sending...