Advertisement
buss2

Untitled

Dec 1st, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. #bChatControl v1.0A No-Premium
  2.  
  3.  
  4. #---------------Edytuj----------------#
  5.  
  6.  
  7.  
  8.  
  9.  
  10. command /chatcontrol [<text>] [<text>] [<text>]:
  11. alises: cc, chat
  12. trigger:
  13. if arg 1 is "on":
  14. if player has permission "cc.on" or "cc.*":
  15. if {bCC::chat} is "off":
  16. set {bCC::chat} to "on":
  17. broadcast "&cChat zostal wylaczony przez &2%player%"
  18. else:
  19. send "&cChat jest juz wlaczony!"
  20. else:
  21. send "&cNie masz uprawnien aby to wykonac!"
  22. if arg 1 is "off":
  23. if player has permission "cc.off" or "cc.*":
  24. if {bCC::chat} is "on":
  25. set {bCC::chat} to "off":
  26. broadcast "&2Chat zostal wlaczony przez &6%player%"
  27. else:
  28. send "&cChaj jest juz wylaczony!"
  29. else:
  30. send "&cNie masz uprawnien aby to wykonac!"
  31.  
  32. if arg 1 is "clear":
  33. if player has permission "cc.clear" or "cc.*":
  34. loop 150 times:
  35. send "" to all players
  36. send "---------------{@tag}---------------"
  37. send "| &2Czat zostal wyczyszczony |"
  38. if arg 1 is "vip":
  39. if player has permission "cc.vipc" or "cc.*":
  40. if arg 2 is "on":
  41. if {bCC::chatvip::%player%} is false:
  42. set {bCC::chatvip::%player%} to true
  43. send "&2Wlaczyles chat vipa!!"
  44. else:
  45. send "&cMasz juz wlaczony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement