import:
org.bukkit.event.inventory.InventoryClickEvent
on InventoryClickEvent:
if inventory name of current inventory of player is "&6Twoj drop":
if "%event.getClick()%" is "right":
if clicked slot is 1:
set {diament::%player%} to false
send "&7Drop &bbloku diamentu &7zostal &cwylaczony"
if "%event.getClick()%" is "left":
if clicked slot is 1:
set {diament::%player%} to true
send "&7Drop &bbloku diamentu &7zostal &cwlaczony"