mIRC Home    About    Download    Register    News    Help

Print Thread
Bot functionality #253545 19/06/15 06:03 PM
Joined: Feb 2015
Posts: 16
U
UnDeadPuff Offline OP
Pikka bird
OP Offline
Pikka bird
U
Joined: Feb 2015
Posts: 16
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?

Last edited by UnDeadPuff; 19/06/15 06:09 PM.
Re: Bot functionality [Re: UnDeadPuff] #253547 19/06/15 07:47 PM
Joined: May 2015
Posts: 249
splinny Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
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")


Dont give a fish - teach to fish!
Re: Bot functionality [Re: splinny] #253553 20/06/15 12:10 AM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
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

Re: Bot functionality [Re: westor] #253562 20/06/15 07:24 AM
Joined: Feb 2015
Posts: 16
U
UnDeadPuff Offline OP
Pikka bird
OP Offline
Pikka bird
U
Joined: Feb 2015
Posts: 16
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!