on right click:
if player is holding diamond block:
if name of player's held item contains "8187"
make console run command "/gms 8187"
if player is holding diamond block:
if name of player's held item contains "8187"
make console run command "/gms 8187"