Item Attributes
onRightClick
This attribute defines the script that is executed when the player right clicks with the item.
Examples
onRightClick = "player.sendMessage('Right clicked with my item!');";
This attribute defines the script that is executed when the player right clicks with the item.