Advertisement
NOF

Untitled

NOF
May 9th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /chat [<text>] [<text>] [<text>]:
  2.         permission: sk.chat
  3.         trigger:
  4.                 argument 1 is "off":
  5.                         set {chat.allowed} to false
  6.                         broadcast "<light red>Chat zostal wylaczony przez %player%"
  7.                 argument 1 is "on":
  8.                         set {chat.allowed} to true
  9.                         broadcast "<light green>Chat zostal wlaczony przez %player%"
  10.                 argument 1 is "wyczysc":
  11.                         execute console command "cc %player%"
  12.                 argument 1 is "temp":
  13.                         if argument 2 is set:
  14.                             if argument 3 is set:
  15.                                 if {chat.%argument 2%.czas} is not set:
  16.                                     if {chat.%argument 3%.powod} is not set:
  17.                                         set {chat.allowed} to false
  18.                                         broadcast "<light red>Chat zostal wylaczony czasowo na %argument 2% przez %player%. Powod: %argument 3%"
  19.                                         wait %argument 2% real second
  20.                                         set {chat.allowed} to true
  21.                                         broadcast "<light green>Chat zostal wlaczony"
  22.                 argument 1 is "autor":
  23.                         message "----- &3Chat&6Plugin &f-----"
  24.                         message " &7Autor: &9~NNoF"#zakaz zmieniana tych wiadomości
  25.                         message " &7Wersja Skryptu: &91.0 BETA"
  26.                         message " &7Znajdziesz mnie na: &9Bukkit.pl&8"
  27. on chat:
  28.         if player has permission "sk.echat":
  29.                 stop
  30.         else:
  31.                 if {chat.allowed} is false:
  32.                         cancel event
  33.                         send "<light red>Chat jest obecnie wylaczony!"
  34.                         stop
  35.                 if {chat.allowed} is true:
  36.                         stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement