This attribute defines the script that is executed when the player stopped using the item (releases the right mouse button). For example when the player stopped blocking with a sword.
Examples
onStoppedUsing = "player.sendMessage('Stopped using my item!');";