Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cc:
- trigger:
- if player has permission "uprawnienie":
- loop 100 times:
- send "" to all players
- send "Wyczyszczono czat"
- command /c [<text>]:
- trigger:
- if player has permission "uprawnienie":
- if arg 1 is "on":
- if {czat} is false:
- set {czat} to true
- send "Gracz %player% wlaczyl czat!" to all players
- else:
- send "Czat jest juz wlaczony"
- if arg 1 is "off":
- if {czat} is true:
- set {czat} to false
- send "Gracz %player% wylaczyl czat!" to all players
- else:
- send "Czat jest juz wylaczony"
- on chat:
- if {czat} is off:
- if player don't have permission "czat":
- cancel event
- send "Czat jest wylaczony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement