Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. on join:
  2. if {bigwarns::%uuid of arg 1%} isn't set:
  3. set {bigwarns::%uuid of player%} to 0
  4. command /warn <offline player> <text>:
  5. permission: skript.warn
  6. permission message: &cYou may not use this command
  7. trigger:
  8. add 1 to {warns::%uuid of arg 1%}
  9. send "&c&l[Warning] &7You have been warned due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)" to argument 1
  10. send "&c&l[Warning] &7You have warned the player &e%arg-1% &7for &e%arg-2%&7 (%{warns::%uuid of arg 1%}%/3)! &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
  11. broadcast "&c&l[Warning] &e%arg-1% &7has been warned by &e%player% &7due to &e%arg-2% (%{warns::%uuid of arg 1%}%/3) &8(&4%{bigwarns::%uuid of arg 1%}%&8/&45&8)"
  12. if {bigwarns::%uuid of arg 1%} = 0:
  13. if {warns::%uuid of arg 1%} >= 3:
  14. execute console command "/mute %arg 1% 10m"
  15. message "&4&lYou have been automaticly muted for &810 minutes &4for having too many warns" to arg 1
  16. broadcast "&e%arg 1% &chave been automaticly muted for &810 minutes &4for having too many warns"
  17. set {warns::%uuid of arg 1%} to 0
  18. add 1 to {bigwarns::%uuid of arg 1%}
  19. if {bigwarns::%uuid of arg 1%} = 1:
  20. if {warns::%uuid of arg 1%} >= 3:
  21. execute console command "/mute %arg 1% 30m"
  22. message "&4&lYou have been automaticly muted for &830 minutes &4for having too many warns" to arg 1
  23. broadcast "&e%arg 1% &chave been automaticly muted for &830 minutes &4for having too many warns"
  24. set {warns::%uuid of arg 1%} to 0
  25. add 1 to {bigwarns::%uuid of arg 1%}
  26. if {bigwarns::%uuid of arg 1%} = 2:
  27. if {warns::%uuid of arg 1%} >= 3:
  28. execute console command "/mute %arg 1% 1h"
  29. message "&4&lYou have been automaticly muted for &81 hour &4for having too many warns" to arg 1
  30. broadcast "&e%arg 1% &chave been automaticly muted for &81 hour &4for having too many warns"
  31. set {warns::%uuid of arg 1%} to 0
  32. add 1 to {bigwarns::%uuid of arg 1%}
  33. if {bigwarns::%uuid of arg 1%} = 3:
  34. if {warns::%uuid of arg 1%} >= 3:
  35. execute console command "/mute %arg 1% 1d"
  36. message "&4&lYou have been automaticly muted for &81 day &4for having too many warns" to arg 1
  37. broadcast "&e%arg 1% &chave been automaticly muted for &81 day &4for having too many warns"
  38. set {warns::%uuid of arg 1%} to 0
  39. add 1 to {bigwarns::%uuid of arg 1%}
  40. if {bigwarns::%uuid of arg 1%} = 4:
  41. if {warns::%uuid of arg 1%} >= 3:
  42. execute console command "/mute %arg 1% 7d"
  43. message "&4&lYou have been automaticly muted for &87 days &4for having too many warns" to arg 1
  44. broadcast "&e%arg 1% &chave been automaticly muted for &87 days &4for having too many warns"
  45. set {warns::%uuid of arg 1%} to 0
  46. add 1 to {bigwarns::%uuid of arg 1%}
  47. if {bigwarns::%uuid of arg 1%} = 5:
  48. if {warns::%uuid of arg 1%} >= 3:
  49. execute console command "/mute %arg 1%"
  50. message "&4&lYou have been automaticly &lPERM muted &4for having too many warns" to arg 1
  51. broadcast "&e%arg 1% &chave been automaticly &lPERM muted &4for having too many warns"
  52. set {warns::%uuid of arg 1%} to 0
  53. add 1 to {bigwarns::%uuid of arg 1%}
  54.  
  55.  
  56.  
  57. command /warns <offline player>:
  58. permission: skript.warns
  59. permission message: &7You may not use this command
  60. trigger:
  61. message "&e%argument 1% &7has &e%{warns::%uuid of arg 1%}% &7warns"
  62. command /warnset <offline player> <number>:
  63. executable by: players and console
  64. permission: skript.warnset
  65. permission message: &7You may not use this command
  66. trigger:
  67. set {warns::%uuid of arg 1%} to arg 2
  68. message "&7You have set &e%arg-1% &7warns to &e%arg-2%"
  69. command /bigwarnset <offline player> <number>:
  70. executable by: players and console
  71. permission: skript.bigwarnset
  72. permission message: &7You may not use this command
  73. trigger:
  74. set {bigwarns::%uuid of arg 1%} to arg 2
  75. message "&7You have set &e%arg-1% &7big warns to &e%arg-2%"
  76.  
  77. command /mywarns:
  78. executable by: players
  79. trigger:
  80. message "&7You have &e%{warns::%uuid of player%}%"
  81. command /bigwarns <offline player>:
  82. permission: skript.warns
  83. permission message: &7You may not use this command
  84. trigger:
  85. message "&e%argument 1% &7has &e%{bigwarns::%uuid of arg 1%}% &4big warns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement