mIRC Home    About    Download    Register    News    Help

Print Thread
(Twitch) Change new subscribers...? #258933 15/09/16 01:53 PM
Joined: Apr 2016
Posts: 86
B
Bestpeff Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Apr 2016
Posts: 86
I was wondering if there has been some type of change to NEW subscribers. If not what script is the most recommended to use that could also have multiple lines of messages edit into it? Thought I'd post this because the current one I'm using seems to not be working

Code:
ON *:TEXT:*subscribed*:#coldsidetv:{
  if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
  elseif ($nick == twitchnotify) && ( $4 == $null ) { msg $chan !bonus $1 1000 }
}


Thank you! (:

Last edited by Bestpeff; 15/09/16 01:55 PM.
Re: (Twitch) Change new subscribers...? [Re: Bestpeff] #258937 16/09/16 08:41 PM
Joined: Sep 2016
Posts: 11
P
Pie Offline
Pikka bird
Offline
Pikka bird
P
Joined: Sep 2016
Posts: 11
For new subscribers to the channel, Try the following:

Code:
on *:text:*:#coldsidetv: {
  if ( $chan == #coldsidetv && $nick == twitchnotify && *just subscribed!* iswm $1-) {
    $msg #coldsidetv $$1 has just subscribed to coldsidetv! 
  }
}


I see that you give some kind of Bonus to the person subscribing. Thus try this:

Code:
on *:text:*:#coldsidetv: {
  if ( $chan == #coldsidetv && $nick == twitchnotify && *just subscribed!* iswm $1-) {
    $msg #coldsidetv $$1 has just subscribed to coldsidetv!
    $msg #coldsidetv !bonus $$1 1000
  }
}


As you can see, I've added another $msg line to it. This will give the chat another message thus probably giving the subscriber in question the Bonus of 1000 something eek