Item Attributes

onDroppedByPlayer

This attribute defines the script that is executed when the item is dropped by the player.

Examples

onDroppedByPlayer = "player.sendMessage('Dropped my item!');";