variables: {blacklist::%player%} = false {blacklist.powod::%player%} = "" on join: if {blacklist::%player%} is true: kick player due to "&c&lJesteś na czarnej liście!%nl%&c&l%{blacklist.powod::%player%}%" command /blacklist [] [] []: permission: blacklist.cmd permission message: Blad: Nie masz uprawnien do tej komendy! trigger: if arg 1 is set: if arg 1 is "dodaj": if arg 2 is set: if arg 2 is not "nick": if arg 3 is set: if {blacklist::%arg-player%} is false: set {blacklist::%arg-player%} to true set {blacklist.powod::%arg-player%} to "%arg 3%" kick arg-player due to "&c&lZostałeś dodany na czarną liste!%nl%&c&l%{blacklist.powod::%arg-player%}%" send "&4&lBLACKLIST &8» &c%arg-player% zostal dodany na czarną liste! Powód: %{blacklist.powod::%arg-player%}%" stop if {blacklist::%arg-player%} is true: send "&4&lBLACKLIST &8» &c%arg-player% jest już na czarnej liście!" stop if arg 3 is not set: if {blacklist::%arg-player%} is false: set {blacklist::%arg-player%} to true set {blacklist.powod::%arg-player%} to "" kick arg-player due to "&c&lZostałeś dodany na czarną liste!" send "&4&lBLACKLIST &8» &c%arg-player% zostal dodany na czarną liste!" stop if {blacklist::%arg-player%} is true: send "&4&lBLACKLIST &8» &c%arg-player% jest już na czarnej liście!" stop if arg 2 is "nick": send "&4&lBLACKLIST &8» &cNie można dodać %arg-player% na czarną liste!" stop if arg 2 is not set: send "&4&lBLACKLIST &8» &cPoprawne uzycie: &f/blacklist " stop if arg 1 is "usun": if arg 2 is set: if arg 2 is not "nick": if arg 3 is set: if {blacklist::%arg-player%} is true: set {blacklist::%arg-player%} to false set {blacklist.powod::%arg-player%} to "%arg 3%" send "&4&lBLACKLIST &8» &c%arg-player% zostal usuniety z czarnej listy!" stop if {blacklist::%arg-player%} is false: send "&4&lBLACKLIST &8» &c%arg-player% nie jest na czarnej liście!" stop if arg 3 is not set: if {blacklist::%arg-player%} is true: set {blacklist::%arg-player%} to false set {blacklist.powod::%arg-player%} to "" send "&4&lBLACKLIST &8» &c%arg-player% zostal usuniety z czarnej listy!" stop if {blacklist::%arg-player%} is false: send "&4&lBLACKLIST &8» &c%arg-player% nie jest na czarnej liście!" stop if arg 2 is "nick": send "&4&lBLACKLIST &8» &cNie można dodać %arg-player% na czarną liste!" stop if arg 2 is not set: send "&4&lBLACKLIST &8» &cPoprawne uzycie: &f/blacklist " stop if arg 1 is not "dodaj" or "usun": send "&4&lBLACKLIST &8» &cPoprawne uzycie: &f/blacklist " stop if arg 1 is not set: send "&4&lBLACKLIST &8» &cPoprawne uzycie: &f/blacklist " stop