The left and right modifiers are indistinguishable as far as hot keys are concerned.
You can use a Device key trigger to detect the left or right command key independently.
The Double Tap Control macro shows how you can use a sequence of modifiers to trigger an macro.