mIRC Homepage
Posted By: UnDeadPuff Bot functionality - 19/06/15 06:03 PM
With E3 Twitch made their temporary disable of JOIN/PART messages on TMI into a permanent change. That means that everyone using mIRC (and other IRC clients) to connect to twitch channels (either themselves or their bots) will have to use 1 to 3 simple commands before joining desired channel(s) to be able to retrieve channel's user list

twitch link here

Click to reveal..

/raw CAP REQ :twitch.tv/membership
/raw CAP REQ :twitch.tv/commands
/raw CAP REQ :twitch.tv/tags


For mIRC based bot users that is very important as most commands won't work the way they should until the bot user requests membership for their bot.

Now, my issue (and maybe others have it too) - I did all the bot connection process all over again, from adding the twitch server to requesting membership for my bot. Unfortunately, part of the scripts still don't work e.g. the currency script now fully working (it doesn't add 1 point every 15 minutes as intended).

Question is - does anyone have any idea why and how to fix?
Posted By: splinny Re: Bot functionality - 19/06/15 07:47 PM
For currency - use $json for https://tmi.twitch.tv/group/user/CHANNEL_NAME/chatters instead of on join\part and nicklist.
For other on-text events (which requires OP status for example) - you can modify your script: http://mypastebin.com/f2W61Hhgiz1Q (this is basic example of "How to do")
Posted By: westor Re: Bot functionality - 20/06/15 12:10 AM
Also can try this code, place it into Remotes tab into a new file, and restart your bot, if this not help you, then try out splinny way: http://www.mpaste.com/p/xY
Posted By: UnDeadPuff Re: Bot functionality - 20/06/15 07:24 AM
Weird enough, the point system started working again after less than 24h since I requested membership. So far it works, and given that I don't know how to $json, I'll be satisfied for the moment.

Thank you for the help!
© mIRC Discussion Forums