Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &8&l[&r&eSprawdzanie&8&l]
- variables:
- {czysty.%player%} = 0
- {chater.%player%} = 0
- {przyznania.%player%} = 0
- command /przyznaje [<text>]:
- trigger:
- if {spr.%player%} is true:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player% &7przyznal sie do uzywania cheatow!"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- teleport player to {itemy}
- set {spr.%player%} to false
- execute console command "kill %player%"
- execute console command "tempban %player% 3d Przyznales sie do uzywania cheatow!"
- command /nieprzyznaje [<text>]:
- trigger:
- if {spr.%player%} is true:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player% &7NIE przyznal sie do uzywania cheatow!"
- broadcast "{@tag} &2%player% &7Zapraszam na Ts3!"
- broadcast "{@tag} &2Jezeli go nie masz to masz go pobrac w ciagu 3minut!"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- command /spr [<text>] [<player>] [<text>] [<text>]:
- permission: "xAxee.*" or "xAxee.helper"
- permission message: &cNie masz dostepu do tej komendy!
- trigger:
- if arg 1 is not set:
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to player
- send "&6» &8Dostepne komendy do sprawdzania:" to player
- send "&6» &2/spr wezwij &8<nick>" to player
- send "&6» &2/spr czysty &8<nick>" to player
- send "&6» &2/spr cheater &8<nick>" to player
- send "&6» &2/spr pozwol &8<nick> tak/nie" to player
- send "&6» &2/spr inny &8<nick> <czas> <powod>" to player
- send "&6» &2/spr przyznanie &8<nick>" to player
- send " " to player
- send "&6» &2/spr ostatnia" to player
- send "&6» &2/spr ustaw &8<nick> &2klatke" to player
- send "&6» &2/spr ustaw &8<nick> &2czysty" to player
- send "&6» &2/spr ustaw &8<nick> &2itemy" to player
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to player
- if arg 1 is "ustaw":
- if arg 3 is "klatke":
- set {Spr} to location of player
- send " " to player
- send "{@tag} &7Ustawiles lokalizacje &6klatki!" to player
- send "&6Kordy Lokalizacji: &F%{spr}%" to player
- send " " to player
- if arg 1 is "ustaw":
- if arg 3 is "czysty":
- set {Czysty} to location of player
- send " " to player
- send "{@tag} &7Ustawiles lokalizacje &6Czystego!" to player
- send "&6Kordy Lokalizacji: &F%{czysty}%" to player
- send " " to player
- if arg 1 is "ustaw":
- if arg 3 is "itemy":
- set {itemy} to location of player
- send " " to player
- send "{@tag} &7Ustawiles lokalizacje &6Itemow z chatera!" to player
- send "&6Kordy Lokalizacji: &F%{itemy}%" to player
- send " " to player
- if arg 1 is "wezwij":
- if arg 2 is set:
- if {spr.%player arg%} is false:
- set {wczLOK.%player arg%} to location of player arg
- wait 1 tick
- teleport player to {Spr}
- teleport player arg to {Spr}
- set {spr.%arg player%} to true
- set {spr.poz.%player arg%} to false
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "&c%player-arg% &6jest podejrzany o cheaty!"
- broadcast "&cWykonuj polecenia &a%player%"
- broadcast "&cMasz 3 minuty na wykonanie polecen"
- broadcast "&cLogaut = perm!"
- broadcast "&cDostepne Komendy: &6/przyznaje /nieprzyznaje /helpop /msg"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- open chest with 3 rows named "&6&lJESTES PODEJRZANY!!!" to player arg
- loop 27 times:
- format slot loop-number -1 of player with 1 of red glass pane named "&6Jestes Sprawdzany!!!" to be unstealable
- format slot 10 of player with 1 of green wool named "&2Przyznaje" to close then run [make player execute command "Przyznaje"]
- format slot 16 of player with 1 of red wool named "&4Nie Przyznaje" to close then run [make player execute command "NiePrzyznaje %player-arg%"]
- else:
- send "&6» &cGracz jest juz sprawdzany!"
- else:
- send "&6» &cPodaj nick Gracza!" to player
- if arg 1 is "czysty":
- if arg 1 is set:
- if {spr.%player arg%} is true:
- if {ost} is true:
- teleport player arg to {wczLOK.%player arg%}
- set {spr.%player arg%} to false
- add 1 to {czysty.%player%}
- log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- send "&cGracz &7%player arg% &cjest czysty!" to all players
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- else:
- teleport player arg to {Czysty}
- set {spr.%player arg%} to false
- add 1 to {czysty.%player%}
- log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- send "&cGracz &7%player arg% &cjest czysty!" to all players
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- else:
- send "&cGRACZ NIE JEST SPRAWDZANY!" to player
- else:
- send "&6» &cPodaj nick gracza!" to player
- if arg 1 is "ostatnia":
- if {ost} is false:
- set {ost} to true
- send "&6Wlaczyles tepanie na ostatnia lokalizacje sprawdzanego!"
- else:
- set {ost} to false
- send "&6Wylaczyles tepanie na ostatnia lokalizacje sprawdzanego!"
- if arg 1 is "chater":
- if arg 2 is set:
- if {spr.%player arg%} is true:
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- broadcast "{@tag} &c%player-arg% zostal zbanowany za cheaty!"
- send "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------" to all players
- add 1 to {chater.%player%}
- log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
- set {spr.%player arg%} to false
- teleport player to {Czysty}
- teleport player arg to {itemy}
- execute console command "kill %player arg%"
- execute console command "ban %player arg% Cheaty wykryte /%player%"
- else:
- send "&6» &cGracz nie jest sprawdzany!" to player
- else:
- send "&6» &cPodaj nick gracza!" to player
- if arg 1 is "przyznanie":
- if arg 2 is set:
- if {spr.%player arg%} is true:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player-arg% &7przyznal sie do uzywania cheatow!"
- broadcast "{@tag} &2Zostal Wezwany Przez %player%"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- add 1 to {przyznania.%player%}
- log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
- teleport player to {Czysty}
- teleport player arg to {itemy}
- set {spr.%player arg%} to false
- execute console command "kill %player arg%"
- execute console command "tempban %player-arg% 3d Przyznales sie do uzywania cheatow! /%player%"
- else:
- send "&6» &cGracz nie jest sprawdzany!" to player
- else:
- send "&6» &cPodaj nick gracza!" to player
- if arg 1 is "inny":
- if arg 4 is set:
- if {spr.%player arg%} is true:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player-arg% &7zostal zbanowany podczas sprawdzania!"
- broadcast "{@tag} &2Zostal zbanowany za %arg 3% na %arg 4%"
- broadcast "{@tag} &2Zostal Wezwany Przez %player%"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- add 1 to {chater.%player%}
- log "C: %{czysty.%player%}% / CH: %{chater.%player%}% / P: %{przyznania.%player%}% / Sprawdzajacy: %player% / Sprawdzany: %player-arg%" to "sprawdzania"
- set {spr.%player arg%} to false
- teleport player to {Czysty}
- teleport player arg to {itemy}
- execute console command "kill %player arg%"
- execute console command "tempban %player-arg% %arg 3% %arg 4% /%player%"
- else:
- send "&6» &cGracz nie jest sprawdzany!" to player
- else:
- send "&6» &cPoprawne uzycie &6/spr inny <nick> <czas> <powod>" to player
- if arg 1 is "pozwol":
- if arg 3 is set:
- if arg 3 is "tak" or "nie":
- if arg 3 is "tak":
- if {spr.%player arg%} is true:
- if {spr.poz.%player arg%} is false:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player% &8pozwolil na logaut &6%player-arg%"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- set {spr.poz.%player arg%} to true
- else:
- send "&6» &cGracz juz dostal na to pozwolenie" to player
- else:
- send "&6» &cgracz nie jest sprawdzany!" to player
- else:
- if {spr.poz.%player arg%} is true:
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- broadcast "{@tag} &2%player% &8nie pozwolil na logaut &6%player-arg%"
- broadcast "&8&m-------------{&2 SPRAWDZANIE &8&m}-------------"
- set {spr.poz.%player arg%} to false
- else:
- send "&6» &cGracz juz dostal na to pozwolenie" to player
- else:
- send "&6» &cPoprawne uzycie komendy &6/spr pozwol <nick> tak/nie"
- on command:
- if {spr.%player%} is true:
- if command is not "przyznaje" or "helpop" or "nieprzyznaje" or "msg" or "r":
- stop
- on quit:
- if {spr.%player%} is true:
- if {spr.poz.%player%} is false:
- teleport player to {itemy}
- broadcast "&6Gracz %player% wylogowal sie podczas sprawdzania!"
- set {spr.%player%} to false
- execute console command "kill %player%"
Advertisement
Add Comment
Please, Sign In to add comment