Jump to content

Report system


Xarber

Recommended Posts

I have done a script for /report and /reports (/reports dont work, but should type in chat a list with all the reports) but it didn't work, please can u help me?


SCRIPT:


variables:
 {2reports} = %{reports}%

command /report [<player>] [<text>]:
 trigger:
  if arg-2 is not set:
   send "&7Usage: &c/report [player] [reason]" to player
   send "&a&6/report duckbeary fly" to player
  else if arg-1 is not set:
   send "&7Usage: &c/report [player] [reason]" to player
   send "&a&6/report duckbeary fly" to player
  else:
   set {reports} to "%{2reports}%" and "Reported Player: &6&l%arg-1% &rReason: &6&l%arg-2% &rReported by: &6&l%player%"
   broadcast "&c&lREPORT!" and "&6%player% &7reported &6%arg-1%" and "&7Reason: &6%arg-2%"

command /reports:
 permission: op
 trigger:
  send "REPORTS:" and "%{reports}%" to player

command /clearreports:
 trigger:
  reset {reports}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...