Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. #-------------------HISTORY AND CLEAR----------------------
  2.  
  3. command /bans [<offline player>]:
  4. permission: bh.use
  5. permission message: No Permission
  6. trigger:
  7. if arg 1 is not set:
  8. send "&aUsage: /bans (player)"
  9. stop
  10. if size of {bans::%uuid of arg 1%::*} is 0:
  11. send "&a&l%arg 1% &ahas no ban history"
  12. stop
  13. send "&7Bans:"
  14. loop {bans::%uuid of arg 1%::*}:
  15. send "&a%loop-value%"
  16.  
  17. command /mutes [<offline player>]:
  18. permission: mh.use
  19. permission message: No Permission
  20. trigger:
  21. if arg 1 is not set:
  22. send "&aUsage: /mutes (player)"
  23. stop
  24. if size of {mutes::%uuid of arg 1%::*} is 0:
  25. send "&a&l%arg 1% &ahas no mute history"
  26. stop
  27. send "&7Mutes:"
  28. loop {mutes::%uuid of arg 1%::*}:
  29. send "&a%loop-value%"
  30.  
  31. command /kicks [<offline player>]:
  32. permission: kh.use
  33. permission message: No Permission
  34. trigger:
  35. if arg 1 is not set:
  36. send "&aUsage: /kicks (player)"
  37. stop
  38. if size of {kicks::%uuid of arg 1%::*} is 0:
  39. send "&a&l%arg 1% &ahas no kick history"
  40. stop
  41. send "&7Kicks:"
  42. loop {kicks::%uuid of arg 1%::*}:
  43. send "&a%loop-value%"
  44.  
  45.  
  46. command /clearbans [<offline player>]:
  47. permission: cb.use
  48. permission message: No Permission
  49. trigger:
  50. if arg 1 is not set:
  51. send "&aUsage: /clearbans (player)"
  52. stop
  53. if size of {bans::%uuid of arg 1%::*} is 0:
  54. send "&a&l%arg 1% &ahas no ban history"
  55. stop
  56. delete {bans::%uuid of arg 1%::*}
  57. send "&aBan history for &a&l%arg 1% &ahas been cleared"
  58.  
  59. command /clearmutes [<offline player>]:
  60. permission: cm.use
  61. permission message: No Permission
  62. trigger:
  63. if arg 1 is not set:
  64. send "&aUsage: /clearmutes (player)"
  65. stop
  66. if size of {mutes::%uuid of arg 1%::*} is 0:
  67. send "&a&l%arg 1% &ahas no mute history"
  68. stop
  69. delete {mutes::%uuid of arg 1%::*}
  70. send "&aMute history for &a&l%arg 1% &ahas been cleared"
  71.  
  72. command /clearkicks [<offline player>]:
  73. permission: ck.use
  74. permission message: No Permission
  75. trigger:
  76. if arg 1 is not set:
  77. send "&aUsage: /clearkicks (player)"
  78. stop
  79. if size of {kicks::%uuid of arg 1%::*} is 0:
  80. send "&a&l%arg 1% &ahas no kick history"
  81. stop
  82. delete {kicks::%uuid of arg 1%::*}
  83. send "&aKick history for &a&l%arg 1% &ahas been cleared"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement