Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>]:
- aliases: c
- permission message: &cNie masz uprawnien.
- permission: info.chat
- trigger:
- if arg 1 is not set:
- send "&fUzyj:&7 off, on, czysc"
- if arg 1 is "czysc" or "c":
- loop 100 times:
- broadcast " "
- broadcast " &7&l[&1&lChat&7&l]"
- broadcast " &2&lChat zostal: &4&lWyczyszczony!"
- if arg 1 is "on" or "wlacz":
- set {thomas::chat} to true
- broadcast " &7&l[&1&lChat&7&l]"
- broadcast " &2&lChat zostal: &a&lWlaczony!"
- if arg 1 is "off" or "wylacz":
- set {thomas::chat} to false
- broadcast " &7&l[&1&lChat&7&l]"
- broadcast " &2&lChat zostal: &4&lWylaczony!"
- on chat:
- if player doesn't have permission "thomas.czas":
- if {czas::%player%} is 0:
- set {SlowMode::%player%} to 5
- wait 1 second
- set {SlowMode::%player%} to 3
- wait 1 second
- set {SlowMode::%player%} to 2
- wait 1 second
- set {SlowMode::%player%} to 1
- wait 1 second
- set {SlowMode::%player%} to 0
- else:
- cancel event
- send "&cNa chacie mozesz pisac za &4 %{SlowMode::%player%}% sekund!"
- on chat:
- if player doesn't have permission "chat.off":
- if {thomas::chat} is false:
- cancel event
- send "&cAktualnie chat jest wylaczony!"
- on load:
- loop all players:
- set {SlowMode::%loop-player%} to 0
- on join:
- set {SlowMode::%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment