Can anyone make the Warn Have A mute on it when doing /unwarn
trigger:
if arg-1 is set:
add 1 to {warning::%arg-1's uuid%}
broadcast ""
broadcast "&c&lWarning"
if arg-2 is set:
broadcast "&c%arg-1% &7has been warned by Dont break the Rules Again &c%player% &7for &c%arg-2% &7[&c%{warning::%arg-1's uuid%}%&7]"
else:
broadcast "&c%arg-1% &7has been warned by Dont break the Rules Again &c%player% &7[&c%{warning::%arg-1's uuid%}%&7]"
broadcast ""
if {warning::%arg-1's uuid%} is 5:
set {warning::%arg-1's uuid%} to 0
execute command "mute %arg-1% 1m &cYou have had too many warnings! (5)"
else:
send "&cUsage: /warn <player> <reason>"
command /unwarn [<player>]:
permission: warn.use
permission message: &cYou do not have the correct permission to execute this command!
trigger:
if arg isn't set:
send "&cUsage: /unwarn <player>"
else:
if {warning::%arg's uuid%} > 0:
remove 1 from {warning::%arg's uuid%}
broadcast ""
broadcast "&a&lUnWarning"
broadcast "&a%arg% &7has been un-warned by Sorry for the Accusement bro &a%player%&7!"
execute command "unmute %arg-1% &bSorry Dude :("