Solved I need a /report skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

FrostPVP™️

Active Member
Feb 12, 2021
63
3
8
24
USA
I need a /report skript

- if they only do /report send "&cPlease report a &6Player &cand type a &eReason"

- Message if they didn't put in a player: send "&cYou need to choose a player!"

- Message if they didn't put in a reason: send "&cYou need to have a reason!"

- Message if they try to report thereself: send "&cYou can't report yourself!"

- Message if they reported the player: send "&aYou reported (the player they reported)"

- Message for cooldown: send "You need to wait (time they have to wait)

- 10 second cooldown

- /report <player> <reason>

- permission sk.report (for /reports)

- permission message: send "&cInsufficient Permission"

- /reports (shows reports)

/reports

&9Player: &6(example)
&9Reported Player: &6(example)
&9Reason: &e(example)

Thank you
2764.png


If you have any questions please message me in skunity forums OR Discord FrostPVP™#4733
 
Last edited:
Try this:

Code:
command /report [<offlineplayer>] [<text>]:
    trigger:
        if arg-1 isn't set:
            send "&cYou need to pick a player, and the report!"
        if arg-1 is set:
            send "&c>>Report: &7You reported %arg-1%&7 for: &c%arg-2%"
            add arg-2 to {reports::%arg-1's uuid%::*}
command /reports [<offlineplayer>]:
    trigger:
        if player has permission "reports.mod":
            if arg-1 isn't set:
                send "&cYou need to pick a player! Usage: /reports <player name>"
            if arg-1 is set:
                send "&c>>Report: &7%arg-1%&7's reports: &c%{reports::%arg-1's uuid%::*}%"

This also isn't the correct place to request Skripts. You need to go here: https://forums.skunity.com/forums/requests/
 
  • Like
Reactions: FrostPVP™️
Try this:

Code:
command /report [<offlineplayer>] [<text>]:
    trigger:
        if arg-1 isn't set:
            send "&cYou need to pick a player, and the report!"
        if arg-1 is set:
            send "&c>>Report: &7You reported %arg-1%&7 for: &c%arg-2%"
            add arg-2 to {reports::%arg-1's uuid%::*}
command /reports [<offlineplayer>]:
    trigger:
        if player has permission "reports.mod":
            if arg-1 isn't set:
                send "&cYou need to pick a player! Usage: /reports <player name>"
            if arg-1 is set:
                send "&c>>Report: &7%arg-1%&7's reports: &c%{reports::%arg-1's uuid%::*}%"

This also isn't the correct place to request Skripts. You need to go here: https://forums.skunity.com/forums/requests/
someone told me but it was after this sorry :/ Also thanks :emoji_slight_smile:
 
  • Like
Reactions: Mattllama987
Status
Not open for further replies.