Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. command /Mute [<offline player>] [<text>]:
  2. permission: mute.use
  3. Trigger:
  4. message "&8&m----------&8&l| &c&LMUTE &8&l|-----------"
  5. message "&4&lGRUNDE: &cSpam, Sprog, Reklame, Trusler, Beskyldning, Plagning og Provo"
  6. message "&4&lKOMMANDO: &c&l/Mute (Spiller) (Grund)"
  7. message "&8&m----------&8&l| &c&LMUTE &8&l|-----------"
  8.  
  9. If arg-1 is not set:
  10. message "&4&oDu glemte spillerens navn!"
  11.  
  12. If arg-2 is not set:
  13. message "&4&oDu glemte grunden til at mute!"
  14. message "&4&oGrunde: &cSpam, Sprog, Reklame, Trusler, Beskyldning, Plagning og Provo"
  15. message "&4&oKommando: &c&l/Mute (Spiller) (Grund)"
  16.  
  17.  
  18.  
  19. If arg-2 is "Spam":
  20. Execute console command "/emute %arg-1% 10m &4SPAM"
  21. Broadcast "&o"
  22. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 10 minutter af &a%command sender% &3med &4GRUNDEN &3Spam"
  23. Broadcast "&o"
  24.  
  25. If arg-2 is "Beskyldning":
  26. Execute console command "/emute %arg-1% 10m &4BESKYLDNING"
  27. Broadcast "&o"
  28. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 10 minutter af &a%command sender% &3med &4GRUNDEN &3BESKYLDNING"
  29. Broadcast "&o"
  30.  
  31.  
  32. If arg-2 is "Sprog":
  33. Execute console command "/emute %arg-1% 12m &4SPROGET"
  34. Broadcast "&o"
  35. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 12 minutter af &a%command sender% &3med &4GRUNDEN &3Sproget"
  36. Broadcast "&o"
  37.  
  38. If arg-2 is "reklame":
  39. Execute console command "/emute %arg-1% 20m &4REKLAME"
  40. Broadcast "&o"
  41. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 20 minutter af &a%command sender% &3med &4GRUNDEN &3Reklame"
  42. Broadcast "&o"
  43.  
  44. If arg-2 is "Trusler":
  45. Execute console command "/emute %arg-1% 15m &4TRUSLER"
  46. Broadcast "&o"
  47. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 15 minutter af &a%command sender% &3med &4GRUNDEN &3Trusler"
  48. Broadcast "&o"
  49.  
  50. If arg-2 is "Provo":
  51. Execute console command "/emute %arg-1% 5m &4PROVO"
  52. Broadcast "&o"
  53. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 5 minutter af &a%command sender% &3med &4GRUNDEN &3Provo"
  54. Broadcast "&o"
  55.  
  56. If arg-2 is "Plagning":
  57. Execute console command "/emute %arg-1% 8m &4PLAGNING"
  58. Broadcast "&o"
  59. Broadcast "&8&l| &c&LMUTE &8&l| &9%arg-1% &3er blevet muted i 8 minutter af &a%command sender% &3med &4GRUNDEN &3Plagning"
  60. Broadcast "&o"
  61.  
  62.  
  63.  
  64. if arg-1 has permission "mute.op":
  65. message "&4DENNE PERSON KAN IKKE MUTES"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement