variables: {stone::%player%} = 0 {chat::%player%} = false command /chatunlock: trigger: set {chat::%player%} to true on chat: if {chat::%player%} is false: send "Aby pisac na czacie musisz wykopac 1000 stone!" to player else: stop on mine stone: if {stone::%player%} is >= 999: send "&aGratulacje! Odblokowales czat!" set {chat::%player%} to true else: stop