Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #bChatControl v1.0A No-Premium
- #---------------Edytuj----------------#
- command /chatcontrol [<text>] [<text>] [<text>]:
- alises: cc, chat
- trigger:
- if arg 1 is "on":
- if player has permission "cc.on" or "cc.*":
- if {bCC::chat} is "off":
- set {bCC::chat} to "on":
- broadcast "&cChat zostal wylaczony przez &2%player%"
- else:
- send "&cChat jest juz wlaczony!"
- else:
- send "&cNie masz uprawnien aby to wykonac!"
- if arg 1 is "off":
- if player has permission "cc.off" or "cc.*":
- if {bCC::chat} is "on":
- set {bCC::chat} to "off":
- broadcast "&2Chat zostal wlaczony przez &6%player%"
- else:
- send "&cChaj jest juz wylaczony!"
- else:
- send "&cNie masz uprawnien aby to wykonac!"
- if arg 1 is "clear":
- if player has permission "cc.clear" or "cc.*":
- loop 150 times:
- send "" to all players
- send "---------------{@tag}---------------"
- send "| &2Czat zostal wyczyszczony |"
- if arg 1 is "vip":
- if player has permission "cc.vipc" or "cc.*":
- if arg 2 is "on":
- if {bCC::chatvip::%player%} is false:
- set {bCC::chatvip::%player%} to true
- send "&2Wlaczyles chat vipa!!"
- else:
- send "&cMasz juz wlaczony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement