Block Attributes
onActivated
This attribute defines the script that is executed when a player activates (right clicks) the block.
Examples
onActivated[0] = "player.sendMessage('Activated me!');";
This attribute defines the script that is executed when a player activates (right clicks) the block.