on damage of a player: if {combattag.%victim%} is not set: send "&6You are in combat tag, don't leave the server!" to victim set {combattag.%victim%} to now wait 10 second {combattag.%victim%} is set difference between {combattag.%victim%} and now > 10 seconds send "&aYou are no longer in combat tag, safe to leave the server." to victim delete {combattag.%victim%} on quit: {combattag.%player%} is set kill player broadcast "&c%player% is combat logging." on death of a player: {combattag.%victim%} is set send "&bYou combat tag has been cleared" to player delete {combattag.%player%} on join: {combattag.%player%} is set send "&cYou have been punish while escape from combat tag." to player delete {combattag.%player%} command /tag: trigger: if {combattag.%player%} is set: send "&cYour combat tag is %difference between {combattag.%player%} and now%" to player else: send "&bYou are no longer in combat tag" to player