Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. command /report [<player>] [<text>]:
  2. trigger:
  3. if arg 1 is not set :
  4. message "&cReportSystem &8» &cBitte gib einen existierenden Namen an."
  5. stop
  6. if arg 1 is player :
  7. message "&cReport& &8» &cDu kannst dich nicht selbst reporten."
  8. stop
  9. if arg 2 is not set:
  10. message "&cReport &8» &cBitte gib einen Grund an"
  11. message "&cReport &8» &7Mögliche Gründe sind:"
  12. message "&7- §eHacking"
  13. message "&7- §eTeaming"
  14. message "&7- §eWerbung"
  15. message "&7- §eSpawntrapping"
  16. message "&7- §eBugusing"
  17. message "&7- §eBeleidigung"
  18. stop
  19. if arg 2 is not "Hacking" or "Werbung" or "Teaming" or "Beleidigung" or "Bugusing" or "Spawntrapping":
  20. wait 1 tick
  21. message "&cReport &8» &7Mögliche Gründe sind:"
  22. message "&7- §eHacking"
  23. message "&7- §eTeaming"
  24. message "&7- §eWerbung"
  25. message "&7- §eSpawntrapping"
  26. message "&7- §eBugusing"
  27. message "&7- §eBeleidigung"
  28. if arg 2 is "Hacking" or "Werbung" or "Teaming" or "Beleidigung" or "Bugusing" or "Spawntrapping":
  29. wait 1 tick
  30. send "&aDu hast den Spieler &c%arg-1% &aerfolgreich Reportet!"
  31. if arg 2 is "Hacking" or "Teaming" or "Bugusing" or "Spawntrapping":
  32. loop all players:
  33. loop-player has permission "report.see"
  34. send "&cReport &8» &4%command sender% &7hat &4%arg-1% &7für den Grund &8[&9%arg-2%&8] &7gemeldet." to loop-player
  35. send "%player%", "&7&oZum Spieler Teleportieren||cmd:/tp YTlotox"
  36.  
  37. if arg 2 is "Werbung" or "Beleidigung":
  38. loop all players:
  39. loop-player has permission "report.see"
  40. send "&cReport &8» &4%command sender% &7hat &4%arg-1% &7für den Grund &8[&9%arg-2%&8] &7gemeldet." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement