mIRC Homepage
Posted By: Bestpeff (Twitch) Change new subscribers...? - 15/09/16 01:53 PM
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! (:
Posted By: Pie Re: (Twitch) Change new subscribers...? - 16/09/16 08:41 PM
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
© mIRC Discussion Forums