LewY

ControlChat_-v2.sk

Jun 9th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. #wersja 2 alpha#
  2. variables:
  3. {Chat.Gui.} = false
  4.  
  5.  
  6. options:
  7. perm.message: &f&m--&r&e&l> &cPrzeprasza, no ale nie masz uprawnienia &e&l<&f&m--
  8.  
  9. command /chat [<text>]:
  10. permission: chat.admin
  11. permission message: {@perm.message}
  12. aliases: /c
  13. trigger:
  14. if arg 1 is not set:
  15. if {Chat.Gui.%player%} is true:
  16. set {sound.GUI.%player%} to true
  17. wait 1 tick
  18. play raw sound "random.chestopen" at player with pitch 1 volume 5
  19. open chest with 3 rows named "&6Chat- &aOpcje w GUI" to player
  20. wait 2 tick
  21. play raw sound "random.pop" at player with pitch 1 volume 5
  22. format slot 0 of player with 1 of gray glass named "&6" to be unstealable
  23. format slot 1 of player with 1 of light gray glass named "&6" to be unstealable
  24. format slot 2 of player with 1 of gray glass named "&6" to be unstealable
  25. format slot 3 of player with 1 of light gray glass named "&6" to be unstealable
  26. format slot 4 of player with 1 of gray glass named "&6" to be unstealable
  27. format slot 5 of player with 1 of light gray glass named "&6" to be unstealable
  28. format slot 6 of player with 1 of gray glass named "&6" to be unstealable
  29. format slot 7 of player with 1 of light gray glass named "&6" to be unstealable
  30. format slot 8 of player with 1 of gray glass named "&6" to be unstealable
  31. format slot 9 of player with 1 of light gray glass named "&6" to be unstealable
  32. format slot 10 of player with 1 of gray glass named "&6" to be unstealable
  33. format slot 11 of player with 1 of light gray glass named "&6" to be unstealable
  34. format slot 12 of player with 1 of gray glass named "&6" to be unstealable
  35. format slot 13 of player with 1 of light gray glass named "&6" to be unstealable
  36. format slot 14 of player with 1 of gray glass named "&6" to be unstealable
  37. format slot 15 of player with 1 of light gray glass named "&6" to be unstealable
  38. format slot 16 of player with 1 of gray glass named "&6" to be unstealable
  39. format slot 17 of player with 1 of light gray glass named "&6" to be unstealable
  40. format slot 18 of player with 1 of gray glass named "&6" to be unstealable
  41. format slot 19 of player with 1 of light gray glass named "&6" to be unstealable
  42. format slot 20 of player with 1 of gray glass named "&6" to be unstealable
  43. format slot 21 of player with 1 of light gray glass named "&6" to be unstealable
  44. format slot 22 of player with 1 of gray glass named "&6" to be unstealable
  45. format slot 23 of player with 1 of light gray glass named "&6" to be unstealable
  46. format slot 24 of player with 1 of gray glass named "&6" to be unstealable
  47. format slot 25 of player with 1 of light gray glass named "&6" to be unstealable
  48. format slot 26 of player with 1 of gray glass named "&6" to be unstealable
  49. wait 0.5 tick
  50. play raw sound "random.pop" at player with pitch 1 volume 5
  51. else:
  52. send "WOW"
  53. send "WOW"
  54. send "WOW"
  55. send "WOW"
  56. if arg 1 is "reload" or "relog" or "r" or "relog" or "zrestartuj" or "przeladuj":
  57. if player has permission "CChat.reload":
  58. play raw sound "note.snare" at player with pitch 1 volume 8
  59. send "&4&l>>&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&4&l<<"
  60. wait 0.2 tick
  61. play raw sound "note.snare" at player with pitch 1 volume 8
  62. send ""
  63. wait 0.2 tick
  64. play raw sound "note.snare" at player with pitch 1 volume 8
  65. send " &6Z powodu crasha serwera przy reloadzie, ta opcja"
  66. wait 0.2 tick
  67. play raw sound "note.snare" at player with pitch 1 volume 8
  68. send " &6zostala &czablokowania&6. Prosze samemu zrestartowac serwer"
  69. wait 0.2 tick
  70. play raw sound "note.snare" at player with pitch 1 volume 8
  71. send ""
  72. wait 0.2 tick
  73. play raw sound "note.snare" at player with pitch 1 volume 8
  74. send "&4&l>>&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&f&m-&6&m-&4&l<<"
  75. if arg 1 is "clear"
  76. send "troool"
  77. on inventory close:
  78. if {sound.GUI.%player%} is true:
  79. play raw sound "random.chestclosed" at player with pitch 1 volume 5
  80. set {sound.GUI.%player%} to false
  81. else:
  82. stop
  83.  
  84.  
  85. command /soser:
  86. trigger:
  87. if {Chat.Gui.%player%} is true:
  88. set {Chat.Gui.%player%} to false
  89. send "Ustawiono na %{Chat.Gui.%player%}%"
  90. else:
  91. set {Chat.Gui.%player%} to true
  92. send "Ustawiono na %{Chat.Gui.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment