Command Counter Reset

Evening Wizebot C&C,

How in the freak can i reset my counter…?
**OMG did the camera tilted again? it’s $(cmd_count)th time today… RIP magnets! ** is the command, however?

I cant reset the counter , i have tried this $(cmd_id) , but it doesn’t look like it works.
Any ideas? In advance thank you.

Sincerly Javelin

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

https://support.wizebot.tv/docs/api_custom_datas

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.