$(eval var a = $(urlfetch https://2g.be/twitch/following.php?user=$(user)&channel=$(channel)&format=daysint); if (a === “$(user) is not following $(channel)”) { “$(touser)is not currently following. Please leave a follow.” } else { “$(touser)has been following for [” + ++a + “]days” })
I’m trying to make a follow command and I can’t seem to get it to display the correct message when people aren’t following any help is appreciated!
$(eval a=`$(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=daysint)`
;if(a.includes(`is not following`)) {`$(touser)is not currently following. Please leave a follow.`}
else{`$(touser)has been following for [`+a+`]days`})