mIRC Home    About    Download    Register    News    Help

Print Thread
#245525 24/04/14 12:32 PM
Joined: Mar 2014
Posts: 214
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 214
I was wondering if anyone had information on how to connect mIRC to twitchclient 3 (i believe it currently connects to 2) and what scripts would be to detect subscribers and that stuff.
Thanks smile

judge2020 #245526 24/04/14 12:45 PM
Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
/raw twitchclient 3

Nillen #245529 24/04/14 02:28 PM
Joined: Mar 2014
Posts: 214
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 214
Would twitchclient 3 show people as subscribers? if so, how would i see who is one?

judge2020 #245530 24/04/14 04:00 PM
P
patrickplays
patrickplays
P
try it maybe? laugh lol
just send raw twitchclient 3 and you will see

#245531 24/04/14 04:13 PM
Joined: Mar 2014
Posts: 214
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 214
I did try it, when my bot sends a message it says it's a subscriber but i don't know how to figure out if anyone else is smirk

judge2020 #245551 25/04/14 03:23 AM
P
patrickplays
patrickplays
P
if the others send messages too, jtv will post this
Code:
[05:15] <jtv> SPECIALUSER patrickplays subscriber
[05:15] <jtv> USERCOLOR patrickplays #B22222
[05:15] <jtv> EMOTESET patrickplays [2496]

judge2020 #245552 25/04/14 05:55 AM
D
Dunsparth
Dunsparth
D
/raw twitchclient 3 works.
What i don't understand about twitchclient 3 is that it doesent show other people in the channel for me, it only shows my name, does anyone know why this is?

#245557 25/04/14 11:16 AM
Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
Has nothing to do with Twitchclient 3. It's just twitch's irc being bad as it always has.

Nillen #245559 25/04/14 12:50 PM
Joined: Mar 2014
Posts: 214
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 214
Actually i think there's a bug with 2/3 that doesn't show people who join.

judge2020 #245560 25/04/14 12:55 PM
Joined: Mar 2014
Posts: 214
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 214
I switched to twitchclient 3, and now when anyone sends a message i get this from jtv:
Code:
<jtv> SPECIALUSER hydronan subscriber
<jtv> USERCOLOR hydronan #1E90FF
<jtv> EMOTESET hydronan [2287]
<jtv> SPECIALUSER jacksack subscriber
<jtv> USERCOLOR jacksack #1E90FF
<jtv> EMOTESET jacksack [193,748,1690,2228,2267,2287]
<jtv> SPECIALUSER theyoungergamer turbo
<jtv> USERCOLOR theyoungergamer #000000
<jtv> EMOTESET theyoungergamer [33,793,954,2484]
<jtv> SPECIALUSER paintballbot subscriber
<jtv> USERCOLOR paintballbot #8A2BE2
<jtv> EMOTESET paintballbot [2287]

Seems to be working, but i still don't know what the command would be to see if the person is a sub.

judge2020 #245561 25/04/14 01:10 PM
Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
You have it right there
Quote:
<jtv> SPECIALUSER jacksack subscriber
You're getting messaged by jtv with this info, just include in the script to check the message from jtv for specialuser and subscriber.

Nillen #245562 25/04/14 02:45 PM
B
blessing
blessing
B
what's the difference between twitchclient 2 and 3 ?

#245563 25/04/14 03:04 PM
Joined: Dec 2013
Posts: 771
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 771
nothing major, just that jtv will send out more info if you're set on 3.

Whenever a user joins a channel you're in, jtv will message you with this if you're set on 2
Quote:
[17:05] Session Ident: jtv (tmi.twitch.tv, nillensbot) (jtv@jtv.tmi.twitch.tv)
[17:05] <jtv> USERCOLOR nillensbot #FF69B4
[17:05] <jtv> HISTORYEND nillens
-
[17:52] Session Ident: jtv (tmi.twitch.tv, nillensbot) (jtv@jtv.tmi.twitch.tv)
[17:52] <jtv> USERCOLOR nillensbot #FF69B4
[17:52] <jtv> HISTORYEND nillens

But when you're set on 3, it'll message you for each message you receive with info such as specialuser.

Nillen #245565 25/04/14 05:26 PM
B
blessing
blessing
B
I was curious to know what exactly twitch is, so just got passwd and connected to twitch. smile

Now i know, twitch doesnt support /notice, /whois, /nick /mode and many others. What a bad.

Twitchclient 2 send info about SPECIALUSER to query msg.
Twitchclient 3 send info about SPECIALUSER to #channel.

I wrote some code to color subscriber nick (pink/13), turbo nick (green/9) and admin nick (red/4) in nick list, make it easy to notice who is SPECIALUSER and who is not.
Also color text message sent by SPECIALUSER with black, and others with grey.

Here is the code:
Code:
on ^*:OPEN:?:*:{
  if $nick == jtv { 
    .raw twitchclient 3
    haltdef 
  }
}

on ^$*:TEXT:/^(EMOTESET|USERCOLOR)/Sig:#:haltdef

on ^*:TEXT:SPECIALUSER *:#:{ set -e %user. [ $+ [ # ] ] $2-3 | haltdef }

on ^*:TEXT:*:#:{
  var %text $1- 
  cline 1 # $1
  tokenize 32 %user. [ $+ [ # ] ]
  if $nick != $1 { echo 14 -t # $+(<,$nick,>) %text | haltdef }
  else {
    var %c $replace($2,subscriber,13,admin,4,turbo,9)
    cline %c # $1
  }
}



judge2020 #245567 26/04/14 04:49 AM
D
Dunsparth
Dunsparth
D
Wish i could figure out a way to fix that, if i could i would always use twitchclient 3
smirk


Link Copied to Clipboard