Advertisement
Guest User

Report.sk

a guest
Apr 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. Command /report [<offline player>]:
  2. Aliases: /rpt
  3. Trigger:
  4. If arg 1 is not set:
  5. message "&7|| &4&lREPORT &7|| &7/report <spiller>"
  6. stop
  7. Else:
  8. open chest with 1 rows named "&7Report - &b%arg 1%" to player
  9. wait 3 ticks
  10. format slot 0 of player with diamond sword named "&cKillaura" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
  11. format slot 2 of player with speed potion named "&cMoment speed" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
  12. format slot 4 of player with feather named "&cFly" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Command /rep <offline player> <offline player> <text>:
  21. Executable by: console
  22. Trigger:
  23. If arg 1 is set:
  24. If arg 2 is set:
  25. If arg 3 is "Killaura":
  26. If {killaura.%arg 1%.%arg 2%} is not set:
  27. send "&7|| &4&lREPORT &7|| &7Du har reportet &b%arg 2%" to arg 1
  28. send "&7|| &4&lREPORT &7|| &b%arg 2% &7er blevet reportet" to arg 1
  29. set {killaura.%arg 1%.%arg 2%} to 1
  30. add 1 to {killaura.reportet.%arg 2%}
  31. add 1 to {reportet.%arg 1%}
  32. Else:
  33. send "&7|| &4&lREPORT &7|| &7Du har allerede reportet &b%arg 2%" to arg 1
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42. Command /repme [<offline player>]:
  43. Aliases: /rm
  44. Trigger:
  45. If arg 1 is not set:
  46. send "&8&l&m--------------------------------" to player
  47. send "&7Navn: &b%player%" to player
  48. send "&7Reportet andre spillere: &b%{reportet.%player%}%" to player
  49. send " " to player
  50. send "&7Reportet:" to player
  51. send "&b%{killaura.reportet.%player%}%"
  52. send "&8&l&m--------------------------------" to player
  53. Else:
  54. If player has permission "*","Admin","Hjælper" or "Mod":
  55. send "&8&l&m--------------------------------" to player
  56. send "&7Navn: &b%arg 1%" to player
  57. send "&7Reportet andre spillere: &b%{reportet.%arg 1%}%" to player
  58. send " " to player
  59. send "&7Reportet:" to player
  60. send "&b%{killaura.reportet.%arg 1%}%"
  61. send "&8&l&m--------------------------------" to player
  62.  
  63.  
  64.  
  65. On join:
  66. if {reportet.%player%} is not set:
  67. set {reportet.%player%} to 0
  68. If {killaura.reportet.%player%} is not set:
  69. set {killaura.reportet.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement