Hello,
It is impossible to “reset” a counter of a single command via the Chat.
It is preferable to use the following TAG:
$custom_data(get,victory_nb) to retrieve the data,
$custom_data(+,victory_nb) to add 1 to the counter,
$custom_data(set,victory_nb,0) to reset the counter,
victory_nb = And the name of the variable / counter.
Just create a command to display and increase the counter (!add) :
$custom_data(+,victory_nb) **OMG did the camera tilted again? it's $custom_data(get,victory_nb)th time today... RIP magnets! ** is the command, however?
And another for “Reset” the value (!reset_count) :
$custom_data(set,victory_nb,0) The counter is reset