mIRC Home    About    Download    Register    News    Help

Print Thread
Tracking Script #246174 26/05/14 10:07 AM
Joined: Mar 2014
Posts: 72
A
AllDayGrinding Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Mar 2014
Posts: 72
I was wondering if it is possible to write a Code that when someone subs on Twitch.tv to a channel it says in chat when they followed the channel, how many times they have chatted, I dunno If this is possible but.. any help would be great!

Re: Tracking Script [Re: AllDayGrinding] #246175 26/05/14 11:56 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
You just gotta log it all and message the channel on the event.
Code:
on *:text:*:#: write $nick $+ .log.txt $1- 

Code:
on *:text:*subscribe*:#: {
  if ($nick != twitchnotify ) halt
  msg # $1 has just subscribed. $1 has written $lines($1 $+ .log.txt) messages in this channel.
}
Think about how you want to do something and it's very logical, it's not hard to come up with yourself.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net