so coming back to this, i am now using an API to check the status. it was easy altering the toon socket to work with this, but i have a problem.

the $gettok in the sockread event does not work the same as the old one. the old was
Code:
{"success":true/false...
but now it's
Code:
{"public":"1"}
so the current gettok is getting "1"} instead of a just 1 or just 0

thanks for any help
EDIT: nevermind, found $gettok(%a,4,34) to work

Last edited by judge2020; 18/10/14 01:30 PM.

#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball