How to make personal sign instructions

Asked Feb 24, 2024·2 replies·Last activity 2 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Is there any way to show "$(user) signed $(count) times" for each user? Determine If it's the same day and the same user, display "signed".

2 replies

Thank you, I added the following command as you did

!addcom _present $(eval d=$(urlfetch json https://twitch.center/customapi/quote/list?token=XXXXXX).split(|);i=d.indexOf( $(user));t=$(time Asia/Seoul "YYYYMMDD");if($(twitch $(channel) "{{status}}")==live){if( i>0){if(t!=d[i-1]){/editquote?token=????&data=${d[i-2].replace(.,)}| ${t}|${d[i]}|${d[i+1]+1}|}else{r}}else{/addquote?token=XXXX&data=|${t}| $(user)|1|}}else{o})
!addcom !present -a=_present $(touser)$(eval var p="$(touser)",q="$(urlfetch https ://goo.gl/WFDDfh 12)",r="$(urlfetch http://twitch.center/customapi/addquote?token=XXXX&data=$(touser) )"; if(p==q) {( "You have signed in today, please come back tomorrow!"); }else{("You have signed in"); })

But using !present always displays

; and I don’t know how to get editquote?token, because my English is not very good and I use translation, but I want to know how to make a sign-in command. 😢

0fd7b1ce5e9f3a52b.png