Advertisement
Guest User

Untitled

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