on rightclick: if player's tool is diamond sword: add player's tool to {dmg8::*} on damage: if {zmienna::%attacker%} is true: if {dmg8::*} contains attacker's tool: increase the damage by 3 set {zmienna::%attacker%} to true add attacker to {lista::*} on death: if {lista::*} contains player: set {zmienna::%player%} to true on drop diamond sword: if {lsta::*} contains player: set {zmienna::%player%} to ture command /ustawDMG [] []: trigger: if {lista::%player%} contains player: if arg-1 isn't set: send "&7>> &7Uzyj /ustawdmg on/off" if arg 1 is "on": set {zmienna::%player%} to true send "&&>> &aOd teraz masz wlaczone dodatkowe dmg" stop if arg 1 is "off": set {zmienna::%player%} to false send "&&>> &cOd teraz masz wylaczone dodatkowe dmg" stop else: send "&7>> &cTa komenda nie jest dla Ciebie, aby jej uzyc kliknij na diamentowy miecz!" stop