Bikbokken

Untitled

Jun 4th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.83 KB | None | 0 0
  1. options:
  2. p: &8[&bSv-Hosting&8]
  3. permmsg: &cDu har ikke tilladelse til dette!
  4.  
  5.  
  6. command /punishment [<player>]:
  7. permission: punishment.admin
  8. permission message: {@p} {@permmsg}
  9. trigger:
  10. if arg-1 is not set:
  11. send "{@p} &cSkriv gerne en person." to player
  12. else:
  13. open chest with 3 rows named "&c&lPUNISHMENT" to player
  14. format slot 11 of player with paper named "&4&lMUTE" to close then run [execute player command "/punishmentmute %player%"]
  15. format slot 13 of player with diamond axe named "&4&lBAN" to close then run [execute player command "/punishmentban %player%"]
  16. format slot 15 of player with gold axe named "&4&lTEMPBAN" to close then run [execute player command "/punishmenttempban %player%"]
  17.  
  18. command /punishmenttempban [<player>] [<text>]:
  19. permission: punishment.admin
  20. permission message: {@p} {@permmsg}
  21. trigger:
  22. if arg-1 is not set:
  23. send "{@p} &cSkriv gerne en person." to player
  24. else:
  25. if arg-2 is not set:
  26. wait 3 ticks
  27. open chest with 1 row named "&4&lTEMPBAN &7- &r%arg-1%" to player
  28. format slot 0 of player with paper named "&4&lSPAM" to close then run [execute player command "/punishmenttempban %player% Spam"]
  29. format slot 1 of player with paper named "&4&lSPROG" to close then run [execute player command "/punishmenttempban %player% Sprog"]
  30. format slot 2 of player with paper named "&4&lRACISME" to close then run [execute player command "/punishmenttempban %player% Racisme"]
  31. if arg-2 is "Spam":
  32. wait 3 ticks
  33. open chest with 1 row named "&4&lSPAMMUTE &7- &r%arg-1%" to player
  34. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmenttempban %player% Spam10min"]
  35. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmenttempban %player% Spam20min"]
  36. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmenttempban %player% Spam30min"]
  37. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmenttempban %player% Spam40min"]
  38. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmenttempban %player% Spam50min"]
  39. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmenttempban %player% Spam60min"]
  40. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmenttempban %player% Spam2h"]
  41. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmenttempban %player% Spam5h"]
  42. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmenttempban %player% Spam1d"]
  43. #
  44. if arg-2 is "Spam10min":
  45. wait 3 ticks
  46. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &410min &cfor &4spam"
  47. execute console command "etempban %arg-1% 10m &cGrunden: &4&lSpam"
  48. if arg-2 is "Spam20min":
  49. wait 3 ticks
  50. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &420min &cfor &4spam"
  51. execute console command "etempban %arg-1% 20m &cGrunden: &4&lSpam"
  52. if arg-2 is "Spam30min":
  53. wait 3 ticks
  54. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &430min &cfor &4spam"
  55. execute console command "etempban %arg-1% 30m &cGrunden: &4&lSpam"
  56. if arg-2 is "Spam40min":
  57. wait 3 ticks
  58. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &440min &cfor &4spam"
  59. execute console command "etempban %arg-1% 40m &cGrunden: &4&lSpam"
  60. if arg-2 is "Spam50min":
  61. wait 3 ticks
  62. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &450min &cfor &4spam"
  63. execute console command "etempban %arg-1% 50m &cGrunden: &4&lSpam"
  64. if arg-2 is "Spam60min":
  65. wait 3 ticks
  66. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &460min &cfor &4spam"
  67. execute console command "etempban %arg-1% 60m &cGrunden: &4&lSpam"
  68. if arg-2 is "Spam2h":
  69. wait 3 ticks
  70. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &42h &cfor &4spam"
  71. execute console command "etempban %arg-1% 2h &cGrunden: &4&lSpam"
  72. if arg-2 is "Spam5h":
  73. wait 3 ticks
  74. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &45h &cfor &4spam"
  75. execute console command "etempban %arg-1% 5h &cGrunden: &4&lSpam"
  76. if arg-2 is "Spam1d":
  77. wait 3 ticks
  78. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &41d &cfor &4spam"
  79. execute console command "etempban %arg-1% 1d &cGrunden: &4&lSpam"
  80. stop
  81. #
  82. #
  83. #
  84. if arg-2 is "Sprog":
  85. wait 3 ticks
  86. open chest with 1 row named "&4&lSPROGMUTE &7- &r%arg-1%" to player
  87. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog10min"]
  88. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog20min"]
  89. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog30min"]
  90. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog40min"]
  91. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog50min"]
  92. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmenttempban %player% Sprog60min"]
  93. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmenttempban %player% Sprog2h"]
  94. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmenttempban %player% Sprog5h"]
  95. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmenttempban %player% Sprog1d"]
  96. if arg-2 is "Sprog10min":
  97. wait 3 ticks
  98. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &410min &cfor &4Sprog"
  99. execute console command "etempban %arg-1% 10m &cGrunden: &4&lSprog"
  100. if arg-2 is "Sprog20min":
  101. wait 3 ticks
  102. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &420min &cfor &4Sprog"
  103. execute console command "etempban %arg-1% 20m &cGrunden: &4&lSprog"
  104. if arg-2 is "Sprog30min":
  105. wait 3 ticks
  106. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &430min &cfor &4Sprog"
  107. execute console command "etempban %arg-1% 30m &cGrunden: &4&lSprog"
  108. if arg-2 is "Sprog40min":
  109. wait 3 ticks
  110. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &440min &cfor &4Sprog"
  111. execute console command "etempban %arg-1% 40m &cGrunden: &4&lSprog"
  112. if arg-2 is "Sprog50min":
  113. wait 3 ticks
  114. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &450min &cfor &4Sprog"
  115. execute console command "etempban %arg-1% 50m &cGrunden: &4&lSprog"
  116. if arg-2 is "Sprog60min":
  117. wait 3 ticks
  118. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &460min &cfor &4Sprog"
  119. execute console command "etempban %arg-1% 60m &cGrunden: &4&lSprog"
  120. if arg-2 is "Sprog2h":
  121. wait 3 ticks
  122. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &42h &cfor &4Sprog"
  123. execute console command "etempban %arg-1% 2h &cGrunden: &4&lSprog"
  124. if arg-2 is "Sprog5h":
  125. wait 3 ticks
  126. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &45h &cfor &4Sprog"
  127. execute console command "etempban %arg-1% 5h &cGrunden: &4&lSprog"
  128. if arg-2 is "Sprog1d":
  129. wait 3 ticks
  130. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &41d &cfor &4Sprog"
  131. execute console command "etempban %arg-1% 1d &cGrunden: &4&lSprog"
  132.  
  133. #
  134. #
  135. #
  136.  
  137. if arg-2 is "Racisme":
  138. wait 3 ticks
  139. open chest with 1 row named "&4&lRACISMEMUTE &7- &r%arg-1%" to player
  140. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme10min"]
  141. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme20min"]
  142. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme30min"]
  143. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme40min"]
  144. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme50min"]
  145. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmenttempban %player% Racisme60min"]
  146. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmenttempban %player% Racisme2h"]
  147. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmenttempban %player% Racisme5h"]
  148. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmenttempban %player% Racisme1d"]
  149. if arg-2 is "Racisme10min":
  150. wait 3 ticks
  151. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &410min &cfor &4Racisme"
  152. execute console command "etempban %arg-1% 10m &cGrunden: &4&lRacisme"
  153. if arg-2 is "Racisme20min":
  154. wait 3 ticks
  155. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &420min &cfor &4Racisme"
  156. execute console command "etempban %arg-1% 20m &cGrunden: &4&lRacisme"
  157. if arg-2 is "Racisme30min":
  158. wait 3 ticks
  159. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &430min &cfor &4Racisme"
  160. execute console command "etempban %arg-1% 30m &cGrunden: &4&lRacisme"
  161. if arg-2 is "Racisme40min":
  162. wait 3 ticks
  163. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &440min &cfor &4Racisme"
  164. execute console command "etempban %arg-1% 40m &cGrunden: &4&lRacisme"
  165. if arg-2 is "Racisme50min":
  166. wait 3 ticks
  167. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &450min &cfor &4Racisme"
  168. execute console command "etempban %arg-1% 50m &cGrunden: &4&lRacisme"
  169. if arg-2 is "Racisme60min":
  170. wait 3 ticks
  171. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &460min &cfor &4Racisme"
  172. execute console command "etempban %arg-1% 60m &cGrunden: &4&lRacisme"
  173. if arg-2 is "Racisme2h":
  174. wait 3 ticks
  175. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &42h &cfor &4Racisme"
  176. execute console command "etempban %arg-1% 2h &cGrunden: &4&lRacisme"
  177. if arg-2 is "Racisme5h":
  178. wait 3 ticks
  179. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &45h &cfor &4Racisme"
  180. execute console command "etempban %arg-1% 5h &cGrunden: &4&lRacisme"
  181. if arg-2 is "Racisme1d":
  182. wait 3 ticks
  183. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &ci &41d &cfor &4Racisme"
  184. execute console command "etempban %arg-1% 1d &cGrunden: &4&lRacisme"
  185.  
  186.  
  187. command /punishmentban [<player>] [<text>]:
  188. permission: punishment.admin
  189. permission message: {@p} {@permmsg}
  190. trigger:
  191. if arg-1 is not set:
  192. send "{@p} &cSkriv gerne en person." to player
  193. else:
  194. if arg-2 is not set:
  195. wait 3 ticks
  196. open chest with 1 row named "&4&lBAN &7- &r%arg-1%" to player
  197. format slot 0 of player with paper named "&4&lSPAM" to close then run [execute player command "/punishmentban %player% Spam"]
  198. format slot 1 of player with paper named "&4&lSPROG" to close then run [execute player command "/punishmentban %player% Sprog"]
  199. format slot 2 of player with paper named "&4&lRACISME" to close then run [execute player command "/punishmentban %player% Racisme"]
  200. format slot 3 of player with paper named "&4&lHACK" to close then run [execute player command "/punishmentban %player% Hack"]
  201. format slot 4 of player with paper named "&4&lGRIEFING" to close then run [execute player command "/punishmentban %player% Griefing"]
  202.  
  203. if arg-2 is "Spam":
  204. wait 3 ticks
  205. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Spam"
  206. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Spam"
  207. if arg-2 is "Sprog":
  208. wait 3 ticks
  209. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Sprog"
  210. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Sprog"
  211. if arg-2 is "Racisme":
  212. wait 3 ticks
  213. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Racisme"
  214. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Racisme"
  215. if arg-2 is "Hack":
  216. wait 3 ticks
  217. open chest with 1 row named "&4&lHACK &7- &r%arg-1%" to player
  218. format slot 0 of player with paper named "&4&lAIM" to close then run [execute player command "/punishmentban %player% Aim"]
  219. format slot 1 of player with paper named "&4&lSPEED" to close then run [execute player command "/punishmentban %player% Speed"]
  220. format slot 2 of player with paper named "&4&lX-RAY" to close then run [execute player command "/punishmentban %player% XRay"]
  221. format slot 3 of player with paper named "&4&lAUTOCLICKER" to close then run [execute player command "/punishmentban %player% Autoclicker"]
  222. format slot 4 of player with paper named "&4&lFLY" to close then run [execute player command "/punishmentban %player% Fly"]
  223. if arg-2 is "Griefing":
  224. wait 3 ticks
  225. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Griefing"
  226. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Griefing"
  227. wait 3 ticks
  228. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Griefing"
  229. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Griefing"
  230. if arg-2 is "Aim":
  231. wait 3 ticks
  232. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Aimbot"
  233. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Aimbot"
  234. if arg-2 is "Speed":
  235. wait 3 ticks
  236. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Speed"
  237. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Speed"
  238. if arg-2 is "XRay":
  239. wait 3 ticks
  240. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4XRay"
  241. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4XRay"
  242. if arg-2 is "Autoclicker":
  243. wait 3 ticks
  244. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Autoclicker"
  245. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Autoclicker"
  246. if arg-2 is "Fly":
  247. wait 3 ticks
  248. broadcast "{@p} &4%arg-1% &cer blevet banned af: &4%player% &cfor &4Fly"
  249. execute console command "/minecraft:ban %arg-1% &cDu er blevet banned af: &4%player% &cGrund: &4Fly"
  250.  
  251.  
  252.  
  253. #MUTE DELEN
  254.  
  255. command /punishmentmute [<player>] [<text>]:
  256. permission: punishment.admin
  257. permission message: {@p} {@permmsg}
  258. trigger:
  259. if arg-1 is not set:
  260. send "{@p} &cSkriv gerne en person." to player
  261. else:
  262. if arg-2 is not set:
  263. wait 3 ticks
  264. open chest with 1 row named "&4&lMUTE &7- &r%arg-1%" to player
  265. format slot 0 of player with paper named "&4&lSPAM" to close then run [execute player command "/punishmentmute %player% Spam"]
  266. format slot 1 of player with paper named "&4&lSPROG" to close then run [execute player command "/punishmentmute %player% Sprog"]
  267. format slot 2 of player with paper named "&4&lRACISME" to close then run [execute player command "/punishmentmute %player% Racisme"]
  268. if arg-2 is "Spam":
  269. wait 3 ticks
  270. open chest with 1 row named "&4&lSPAMMUTE &7- &r%arg-1%" to player
  271. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmentmute %player% Spam10min"]
  272. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmentmute %player% Spam20min"]
  273. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmentmute %player% Spam30min"]
  274. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmentmute %player% Spam40min"]
  275. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmentmute %player% Spam50min"]
  276. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmentmute %player% Spam60min"]
  277. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmentmute %player% Spam2h"]
  278. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmentmute %player% Spam5h"]
  279. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmentmute %player% Spam1d"]
  280. if arg-2 is "Spam10min":
  281. wait 3 ticks
  282. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &410min &cfor &4spam"
  283. execute console command "emute %arg-1% 10m"
  284. if arg-2 is "Spam20min":
  285. wait 3 ticks
  286. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &420min &cfor &4spam"
  287. execute console command "emute %arg-1% 20m"
  288. if arg-2 is "Spam30min":
  289. wait 3 ticks
  290. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &430min &cfor &4spam"
  291. execute console command "emute %arg-1% 30m"
  292. if arg-2 is "Spam40min":
  293. wait 3 ticks
  294. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &440min &cfor &4spam"
  295. execute console command "emute %arg-1% 40m"
  296. if arg-2 is "Spam50min":
  297. wait 3 ticks
  298. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &450min &cfor &4spam"
  299. execute console command "emute %arg-1% 50m"
  300. if arg-2 is "Spam60min":
  301. wait 3 ticks
  302. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &460min &cfor &4spam"
  303. execute console command "emute %arg-1% 60m"
  304. if arg-2 is "Spam2h":
  305. wait 3 ticks
  306. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &42h &cfor &4spam"
  307. execute console command "emute %arg-1% 2h"
  308. if arg-2 is "Spam5h":
  309. wait 3 ticks
  310. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &45h &cfor &4spam"
  311. execute console command "emute %arg-1% 5h"
  312. if arg-2 is "Spam1d":
  313. wait 3 ticks
  314. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &41d &cfor &4spam"
  315. execute console command "emute %arg-1% 1d"
  316. stop
  317. #
  318. #
  319. #
  320. if arg-2 is "Sprog":
  321. wait 3 ticks
  322. open chest with 1 row named "&4&lSPROGMUTE &7- &r%arg-1%" to player
  323. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmentmute %player% Sprog10min"]
  324. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmentmute %player% Sprog20min"]
  325. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmentmute %player% Sprog30min"]
  326. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmentmute %player% Sprog40min"]
  327. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmentmute %player% Sprog50min"]
  328. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmentmute %player% Sprog60min"]
  329. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmentmute %player% Sprog2h"]
  330. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmentmute %player% Sprog5h"]
  331. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmentmute %player% Sprog1d"]
  332. if arg-2 is "Sprog10min":
  333. wait 3 ticks
  334. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &410min &cfor &4Sprog"
  335. execute console command "emute %arg-1% 10m"
  336. if arg-2 is "Sprog20min":
  337. wait 3 ticks
  338. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &420min &cfor &4Sprog"
  339. execute console command "emute %arg-1% 20m"
  340. if arg-2 is "Sprog30min":
  341. wait 3 ticks
  342. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &430min &cfor &4Sprog"
  343. execute console command "emute %arg-1% 30m"
  344. if arg-2 is "Sprog40min":
  345. wait 3 ticks
  346. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &440min &cfor &4Sprog"
  347. execute console command "emute %arg-1% 40m"
  348. if arg-2 is "Sprog50min":
  349. wait 3 ticks
  350. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &450min &cfor &4Sprog"
  351. execute console command "emute %arg-1% 50m"
  352. if arg-2 is "Sprog60min":
  353. wait 3 ticks
  354. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &460min &cfor &4Sprog"
  355. execute console command "emute %arg-1% 60m"
  356. if arg-2 is "Sprog2h":
  357. wait 3 ticks
  358. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &42h &cfor &4Sprog"
  359. execute console command "emute %arg-1% 2h"
  360. if arg-2 is "Sprog5h":
  361. wait 3 ticks
  362. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &45h &cfor &4Sprog"
  363. execute console command "emute %arg-1% 5h"
  364. if arg-2 is "Sprog1d":
  365. wait 3 ticks
  366. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &41d &cfor &4Sprog"
  367. execute console command "emute %arg-1% 1d"
  368.  
  369. #
  370. #
  371. #
  372.  
  373. if arg-2 is "Racisme":
  374. wait 3 ticks
  375. open chest with 1 row named "&4&lRACISMEMUTE &7- &r%arg-1%" to player
  376. format slot 0 of player with paper named "&4&l10 MIN" to close then run [execute player command "/punishmentmute %player% Racisme10min"]
  377. format slot 1 of player with paper named "&4&l20 MIN" to close then run [execute player command "/punishmentmute %player% Racisme20min"]
  378. format slot 2 of player with paper named "&4&l30 MIN" to close then run [execute player command "/punishmentmute %player% Racisme30min"]
  379. format slot 3 of player with paper named "&4&l40 MIN" to close then run [execute player command "/punishmentmute %player% Racisme40min"]
  380. format slot 4 of player with paper named "&4&l50 MIN" to close then run [execute player command "/punishmentmute %player% Racisme50min"]
  381. format slot 5 of player with paper named "&4&l60 MIN" to close then run [execute player command "/punishmentmute %player% Racisme60min"]
  382. format slot 6 of player with paper named "&4&l2 T." to close then run [execute player command "/punishmentmute %player% Racisme2h"]
  383. format slot 7 of player with paper named "&4&l5 T." to close then run [execute player command "/punishmentmute %player% Racisme5h"]
  384. format slot 8 of player with paper named "&4&l1 D." to close then run [execute player command "/punishmentmute %player% Racisme1d"]
  385. if arg-2 is "Racisme10min":
  386. wait 3 ticks
  387. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &410min &cfor &4Racisme"
  388. execute console command "emute %arg-1% 10m"
  389. if arg-2 is "Racisme20min":
  390. wait 3 ticks
  391. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &420min &cfor &4Racisme"
  392. execute console command "emute %arg-1% 20m"
  393. if arg-2 is "Racisme30min":
  394. wait 3 ticks
  395. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &430min &cfor &4Racisme"
  396. execute console command "emute %arg-1% 30m"
  397. if arg-2 is "Racisme40min":
  398. wait 3 ticks
  399. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &440min &cfor &4Racisme"
  400. execute console command "emute %arg-1% 40m"
  401. if arg-2 is "Racisme50min":
  402. wait 3 ticks
  403. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &450min &cfor &4Racisme"
  404. execute console command "emute %arg-1% 50m"
  405. if arg-2 is "Racisme60min":
  406. wait 3 ticks
  407. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &460min &cfor &4Racisme"
  408. execute console command "emute %arg-1% 60m"
  409. if arg-2 is "Racisme2h":
  410. wait 3 ticks
  411. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &42h &cfor &4Racisme"
  412. execute console command "emute %arg-1% 2h"
  413. if arg-2 is "Racisme5h":
  414. wait 3 ticks
  415. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &45h &cfor &4Racisme"
  416. execute console command "emute %arg-1% 5h"
  417. if arg-2 is "Racisme1d":
  418. wait 3 ticks
  419. broadcast "{@p} &4%arg-1% &cer blevet muted af: &4%player% &ci &41d &cfor &4Racisme"
  420. execute console command "emute %arg-1% 1d"
  421.  
  422.  
  423. #
  424. #
  425. #
Advertisement
Add Comment
Please, Sign In to add comment