DominikCiupa3

Chat++(Wersja dostosowana do Iserver)

Sep 28th, 2014
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.65 KB | None | 0 0
  1. variables:
  2.     {chat} = true
  3.  
  4. options:
  5.     t : <gray>[<orange>Chat++<gray>]
  6.  
  7.  
  8. on chat:
  9.     if {chat} is "false":
  10.         display hologram "<cyan>%player%<gray> >> <white>%message%" at location of player for 10 seconds
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. command /chat++ [<text>] [<text>]:
  18.     executable by: players and console
  19.     permission: iserver.all
  20.     trigger:
  21.         if arg 1 is "hologram":
  22.             if arg 2 is "on":
  23.                 set {chat} to "false"
  24.                 send "{@t} <green>Włączono wiadomości w formie hologramów." to all ops
  25.             if arg 2 is "off":
  26.                 set {chat} to "true"
  27.                 send "{@t} <red>Wyłączono wiadomości w formie hologramów." to all ops
  28.         if arg 1 is "chat":
  29.             if arg 2 is "czysc":
  30.                 broadcast "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "
  31.                 broadcast "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "
Advertisement
Add Comment
Please, Sign In to add comment