V26he6m5
Język: Skript
|
Autor: Anonimowy
variables: {ostatniGracz::%player%} = false {socialspy::%player%} = false {wyjebaneGracz::%player%} = false command /msg [<player>] [<text>]: trigger: if arg 1 is set: if arg 2 is set: if arg 1 is online: if arg 1 is not "asd": if {adminchat::%argument-1%} is false: if {wyjebaneGracz::%player-arg%} is false: set {ostatniGracz::%player%} to argument-1 set {ostatniGracz::%argument-1%} to player send "&8[&7Ty &8&l» &6%arg-1%&8] &e%arg 2%" to player send "&8[&6%player% &8&l» &7Ty&8] &e%arg 2%" to arg-1 loop all players: if {socialspy::%loop-player%} is true: send "&8[&7%player% &8&l» &7Ty&8] &e%arg 2%" to loop-player else: send "&8&l» &cGracz %arg-1% ma wyjebane!" else: send "&8&l» &4Blad: &7Nie mozesz wysylac wiadomosci do administratora!" else: send "&8&l» &4Blad: &7Nie mozesz sam do siebie wyslac wiadomosci!" else: send "&8&l» &4Blad: &7Ten gracz jest offline!" else: send "&8&l» &7Poprawne uzycie &a/msg <nick> <wiadomosc>" else: send "&8&l» &7Poprawne uzycie &a/msg <nick> <wiadomosc>" command /wyjebane [<player>]: trigger: if arg 1 is not set: if {wyjebaneGracz::%player%} is false: set {wyjebaneGracz::%player%} to true send "&8&l» &7Tryb wyjebane zostal &awlaczony!" stop if {wyjebaneGracz::%player%} is true: set {wyjebaneGracz::%player%} to false send "&8&l» &7Tryb wyjebane zostal &cwylaczony!" stop if arg 1 is set: if player has permission "firehc.wyjebane": if {wyjebaneGracz::%argument-1%} is false: set {wyjebaneGracz::%argument-1%} to true send "&8&l» &7Tryb wyjebane zostal &awlaczony &7dla &6%arg-1%" send "&8&l» &7Tryb wyjebane zostal &awlaczony &7przez &6%player%" to arg-1 stop if {wyjebaneGracz::%argument-1%} is true: set {wyjebaneGracz::%argument-1%} to false send "&8&l» &7Tryb wyjebane zostal &cwylaczony &7dla &6%arg-1%" send "&8&l» &7Tryb wyjebane zostal &cwylaczony &7przez &6%player%" to arg-1 stop else: send "&8&l» &4Blad: &7Brak wymaganych uprawnien!" command /r [<text>]: aliases: reply trigger: if arg 1 is set: if {ostatniGracz::%player%} is set: if {ostatniGracz::%player%} is online: send "&8[&7Ty &8&l» &6%{ostatniGracz::%player%}%&8] &e%arg 1%" to player send "&8[&6%player% &8&l» &7Ty&8] &e%arg 1%" to {ostatniGracz::%player%} loop all players: if {socialspy::%loop-player%} is true: send "&8[&7%player% &8&l» &7%{ostatniGracz::%player%}%&8] &e%arg 1%" to loop-player else: send "&8&l» &4Blad: &7Ten gracz jest offline!" else: send "&8&l» &4Blad: &7Nie masz do kogo odpisac!" else: send "&8&l» &7Poprawne uzycie &a/r <wiadomosc>" command /socialspy [<player>] [<text>]: trigger: if player has permission "firehc.socialspy": if arg 1 is not set: if {socialspy::%player%} is false: set {socialspy::%player%} to true send "&8&l» &7Tryb socialspy zostal &awlaczony!" stop if {socialspy::%player%} is true: set {socialspy::%player%} to false send "&8&l» &7Tryb socialspy zostal &cwylaczony!" stop else: if arg 1 is online: if {socialspy::%arg-1%} is false: set {socialspy::%arg-1%} to true send "&8&l» &7Tryb socialspy zostal &awlaczony &7dla &6%arg-1%" send "&8&l» &7Tryb socialspy zostal &awlaczony &7przez &6%player%" to arg-1 stop if {socialspy::%arg-1%} is true: set {socialspy::%arg-1%} to false send "&8&l» &7Tryb socialspy zostal &cwylaczony &7dla &6%arg-1%" send "&8&l» &7Tryb socialspy zostal &cwylaczony &7przez &6%player%" to arg-1 stop else: send "&8&l» &4Blad: &7Ten gracz jest offline!" else: send "&8&l» &4Blad: &7Brak wymaganych uprawnien!"