Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /report [<offline player>]:
- Aliases: /rpt
- Trigger:
- If arg 1 is not set:
- message "&7|| &4&lREPORT &7|| &7/report <spiller>"
- stop
- Else:
- open chest with 1 rows named "&7Report - &b%arg 1%" to player
- wait 3 ticks
- format slot 0 of player with diamond sword named "&cKillaura" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
- format slot 2 of player with speed potion named "&cMoment speed" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
- format slot 4 of player with feather named "&cFly" to close then run [ execute console command "/rep %player% %arg 1% killaura"]
- Command /rep <offline player> <offline player> <text>:
- Executable by: console
- Trigger:
- If arg 1 is set:
- If arg 2 is set:
- If arg 3 is "Killaura":
- If {killaura.%arg 1%.%arg 2%} is not set:
- send "&7|| &4&lREPORT &7|| &7Du har reportet &b%arg 2%" to arg 1
- send "&7|| &4&lREPORT &7|| &b%arg 2% &7er blevet reportet" to arg 1
- set {killaura.%arg 1%.%arg 2%} to 1
- add 1 to {killaura.reportet.%arg 2%}
- add 1 to {reportet.%arg 1%}
- Else:
- send "&7|| &4&lREPORT &7|| &7Du har allerede reportet &b%arg 2%" to arg 1
- Command /repme [<offline player>]:
- Aliases: /rm
- Trigger:
- If arg 1 is not set:
- send "&8&l&m--------------------------------" to player
- send "&7Navn: &b%player%" to player
- send "&7Reportet andre spillere: &b%{reportet.%player%}%" to player
- send " " to player
- send "&7Reportet:" to player
- send "&b%{killaura.reportet.%player%}%"
- send "&8&l&m--------------------------------" to player
- Else:
- If player has permission "*","Admin","Hjælper" or "Mod":
- send "&8&l&m--------------------------------" to player
- send "&7Navn: &b%arg 1%" to player
- send "&7Reportet andre spillere: &b%{reportet.%arg 1%}%" to player
- send " " to player
- send "&7Reportet:" to player
- send "&b%{killaura.reportet.%arg 1%}%"
- send "&8&l&m--------------------------------" to player
- On join:
- if {reportet.%player%} is not set:
- set {reportet.%player%} to 0
- If {killaura.reportet.%player%} is not set:
- set {killaura.reportet.%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement