borderpatrol78 Posted July 24, 2022 Share Posted July 24, 2022 This is the skript i got for now but i only need a command so it deletes the player there report. command /report [<player>] [<text>]: description: Main Report Command permission: command.report permission message: You don't have permission to do this trigger: if arg-1 isn't set: send "Error, you must specify a player" else if arg-2 isn't set: send "You must specify a reason" else if arg-2 isn't "Fly" or "Speed" or "KillAura" or "Xray": send "Error, that is not a valid Reason" send "Reasons: &cFly, Speed, KillAura, Xray, " else: add arg-2 to {Reports::%arg-1's uuid%::*} send "&8[&4Reports&8]&cSuccessfully reported %arg-1%, for %arg-2%" loop all players: if loop-player has permission "report.staff": send "&cALERT! %player% has reported %arg-1% for %arg-2%" to loop-player send "&cTo check the logs, type /checkreport [Player]" to loop-player command /checkreport [<offline player>]: description: Main Report Checking Command permission: report.staff permission message: You don't have permission to do this trigger: if arg-1 isn't set: send "&7You must specify a user" else: send "&7Viewing Report Status of: &c%arg-1%" loop {Reports::%arg-1's uuid%::*}: send "&c##%loop-index% - %loop-value%" send "" send "&7Total Reports Made: &c%size of {Reports::%arg-1's uuid%::*}%" command /removereport [<offline player>]: description: Deletes a player report permission: report.remove permission message: You don't have permission to do this trigger: if arg-1 isn't set: send "&7You must specify a user" else: send "&7removing Report Status of: &c%arg-1%" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now