I don’t know if you can but I want to make a counter for the amount of users that said “hello” for example. So if the same user says “hello” two times or more, it only adds one to the counter.
Emily
November 6, 2021, 6:22pm
2
Hey @falsofacu !
We don’t encourage setting up user-specific counters, but have a look there, combine and adapt the code for your usage:
Hey @Exile !
I have a workaround, for that we’ll use the quote system API . You’ll get your TOKENS by clicking on the second link in the post, use these in the commands I wrote. To know where to look for your PUBLIC_TOKEN and PRIVATE_TOKEN, look at the field bellow:
$(urlfetch https://twitch.center/customapi/quote?token=PUBLIC_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))
$(urlfetch https://twitch.center/customapi/delquote…
Hey @brecht_vh !
Yes, it’s possible, here’s how to:
First let’s set up the commands to display the message:
!addcom !killed -ul=mod -a=_killed $(count)
!addcom _killed -ul=mod $(channel) was killed $(query) times today and $(count) times this week.
Call !killed to update the counters.
Then, to reset the counters, here’s how:
!addcom !dayreset -ul=mod -a=!editcom !killed \-c=0
!addcom !weekreset -ul=mod -a=!editcom _killed \-c=0
To reset the daily counter, call !dayreset and to reset the …
system
Closed
November 20, 2021, 6:22pm
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.