Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>] [<text>] [<text>]:
- permission: sk.chat
- trigger:
- argument 1 is "off":
- set {chat.allowed} to false
- broadcast "<light red>Chat zostal wylaczony przez %player%"
- argument 1 is "on":
- set {chat.allowed} to true
- broadcast "<light green>Chat zostal wlaczony przez %player%"
- argument 1 is "wyczysc":
- execute console command "cc %player%"
- argument 1 is "temp":
- if argument 2 is set:
- if argument 3 is set:
- if {chat.%argument 2%.czas} is not set:
- if {chat.%argument 3%.powod} is not set:
- set {chat.allowed} to false
- broadcast "<light red>Chat zostal wylaczony czasowo na %argument 2% przez %player%. Powod: %argument 3%"
- wait %argument 2% real second
- set {chat.allowed} to true
- broadcast "<light green>Chat zostal wlaczony"
- argument 1 is "autor":
- message "----- &3Chat&6Plugin &f-----"
- message " &7Autor: &9~NNoF"#zakaz zmieniana tych wiadomości
- message " &7Wersja Skryptu: &91.0 BETA"
- message " &7Znajdziesz mnie na: &9Bukkit.pl&8"
- on chat:
- if player has permission "sk.echat":
- stop
- else:
- if {chat.allowed} is false:
- cancel event
- send "<light red>Chat jest obecnie wylaczony!"
- stop
- if {chat.allowed} is true:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement