command /notify []: trigger: if {notify.%player%} is true: set {notify.%player%} to false send "&cWylaczono Powiadomienia" stop else: set {notify.%player%} to true send "&2Wlaczono Powiadomienia!" stop on quit: loop all players: loop-player has permission "skript.notify" if {notify.%player%} is true: send "&cWyszedl &7Gracz %player%" to loop-player