Advertisement
sikieraBMW

Untitled

Jan 2nd, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. command /Antygrief [<text>] [<text>]:
  2.  
  3. permission: Antygrief.zmienne
  4.  
  5. permission message: &7Ta komenda jest tylko dla administratorow.
  6.  
  7. trigger:
  8.  
  9. if arg 1 is "BR":
  10.  
  11. if arg 2 is "on":
  12.  
  13. set {BR} to true
  14.  
  15. send "&8< &7AntyGRIEF &8> &7Odblokowano komende &e/BR&7."
  16.  
  17. stop
  18.  
  19. else:
  20.  
  21. if arg 2 is "off":
  22.  
  23. set {BR} to false
  24.  
  25. send "&8< &7AntyGRIEF &8> &7Zablokowano komende &e/BR&7."
  26.  
  27. stop
  28.  
  29. if arg 1 is "OP":
  30.  
  31. if arg 2 is "on":
  32.  
  33. set {OP} to true
  34.  
  35. send "&8< &7AntyGRIEF &8> &7Odblokowano komende &e/OP."
  36.  
  37. stop
  38.  
  39. else:
  40.  
  41. if arg 2 is "off":
  42.  
  43. set {OP} to false
  44.  
  45. send "&8< &7AntyGRIEF &8> &7zablokowano komende &e/OP."
  46.  
  47. stop
  48.  
  49. if arg 1 is "PEX":
  50.  
  51. if arg 2 is "on":
  52.  
  53. set {PEX} to true
  54.  
  55. send "&8< &7AntyGRIEF &8> &7Odblokowano komende &e/pex."
  56.  
  57. stop
  58.  
  59. else:
  60.  
  61. if arg 2 is "off":
  62.  
  63. set {PEX} to false
  64.  
  65. send "&8< &7AntyGRIEF &8> &7zablokowano komende &e/pex."
  66.  
  67. stop
  68.  
  69. if arg 1 is "KALL":
  70.  
  71. if arg 2 is "on":
  72.  
  73. set {KALL} to true
  74.  
  75. send "&8< &7AntyGRIEF &8> &7Odblokowano komende &e/kickall."
  76.  
  77. stop
  78.  
  79. else:
  80.  
  81. if arg 2 is "off":
  82.  
  83. set {KALL} to false
  84.  
  85. send "&8< &7AntyGRIEF &8> &7zablokowano komende &e/kickall."
  86.  
  87. stop
  88.  
  89. if arg 1 is "BAN":
  90.  
  91. if arg 2 is "on":
  92.  
  93. set {BAN} to true
  94.  
  95. send "&8< &7AntyGRIEF &8> &7Odblokowano komende &e/ban."
  96.  
  97. stop
  98.  
  99. else:
  100.  
  101. if arg 2 is "off":
  102.  
  103. set {BAN} to false
  104.  
  105. send "&8< &7AntyGRIEF &8> &7zablokowano komende &e/ban."
  106.  
  107. stop
  108.  
  109. if arg 1 is not set:
  110.  
  111. send "&8< &7AntyGRIEF &8> &7Komenda: &e/Antygrief [BR/OP/PEX/KALL/BAN] [ON/OFF]"
  112.  
  113. stop
  114.  
  115. if arg 2 is not set:
  116.  
  117. send "&8< &7AntyGRIEF &8> &7Komenda: &e/Antygrief [BR/OP/PEX/KALL/BAN] [ON/OFF]"
  118.  
  119.  
  120.  
  121.  
  122.  
  123. on command "/br":
  124.  
  125. if {BR} is false:
  126.  
  127. cancel event
  128.  
  129. send "we we"
  130.  
  131. stop
  132.  
  133. on command "/brush":
  134.  
  135. if {BR} is false:
  136.  
  137. cancel event
  138.  
  139. send "we we"
  140.  
  141. on command "/wand":
  142.  
  143. if {BR} is false:
  144.  
  145. cancel event
  146.  
  147. send "we we"
  148.  
  149. stop
  150.  
  151. on command "/op":
  152.  
  153. if {OP} is false:
  154.  
  155. cancel event
  156.  
  157. send "we we"
  158.  
  159. stop
  160.  
  161. on command "/deop":
  162.  
  163. if {OP} is false:
  164.  
  165. cancel event
  166.  
  167. send "we we"
  168.  
  169. stop
  170.  
  171. on command "//wand":
  172.  
  173. if {BR} is false:
  174.  
  175. cancel event
  176.  
  177. send "we we"
  178.  
  179. stop
  180.  
  181. on command "/sk disable":
  182.  
  183. if sender is player:
  184.  
  185. cancel event
  186.  
  187. send "&4BLAD: &cta komenda moze zostac wywolana tylko przez console&4!"
  188.  
  189. stop
  190.  
  191. on command "/kick":
  192.  
  193. if {KALL} is false:
  194.  
  195. cancel event
  196.  
  197. send "we we"
  198.  
  199. stop
  200.  
  201. on command "/pex":
  202.  
  203. if {PEX} is false:
  204.  
  205. cancel event
  206.  
  207. send "we we"
  208.  
  209. stop
  210.  
  211. on command "/ban":
  212.  
  213. if {BAN} is false:
  214.  
  215. cancel event
  216.  
  217. send "we we"
  218.  
  219. stop
  220.  
  221. on command "/tempban":
  222.  
  223. if {BAN} is false:
  224.  
  225. cancel event
  226.  
  227. send "we we"
  228.  
  229. stop
  230.  
  231. on command "/eban":
  232.  
  233. if {BAN} is false:
  234.  
  235. cancel event
  236.  
  237. send "we we"
  238.  
  239. stop
  240.  
  241. on command "/ban-ip":
  242.  
  243. if {BAN} is false:
  244.  
  245. cancel event
  246.  
  247. send "we we"
  248.  
  249. stop
  250.  
  251. on command "/banip":
  252.  
  253. if {BAN} is false:
  254.  
  255. cancel event
  256.  
  257. send "we we"
  258.  
  259. stop
  260.  
  261. on command "/kickall":
  262.  
  263. if {KALL} is false:
  264.  
  265. cancel event
  266.  
  267. send "we we"
  268.  
  269. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement