How do I detect right clicks with commands? [duplicate]

Solution 1:

Well, you could use the scoreboard objectives for stat.useItem. You would have to have a test for command block and objective for every item that the player would use to left click, however.