Hey i was wondering if anyone could help, twitch is swapping over the usernotice system, replacing twitch notify for new subs. Im not sure how i would modify my code so that it works on this system.

This is what i use right now:

on *:LOGON:*:{
raw CAP REQ :twitch.tv/membership
raw CAP REQ :twitch.tv/tags
raw CAP REQ :twitch.tv/commands
/debug @raw
}

on 1:TEXT:*subscribed*:#couragejd:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
elseif ($nick == twitchnotify) && ( $4 == $null ) { describe $chan NEW SUB!! bingOMG $1 welcome to the Courageous!! bingHeart $+ }
}


raw USERNOTICE:*:{
if (($msgtags(msg-id).key == resub) && ($1 == #couragejd)) {
var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
if ($0 == 1) {
describe $1 bingOMG RESUB!! %nick with the $msgtags(msg-param-months).key months in a row! bingHeart
}
else {
describe $1 bingOMG RESUB!! %nick with the $msgtags(msg-param-months).key months in a row! bingHeart Left a note: $qt($2-)
}
}

}


If anyone could help that would be great.

Last edited by KeviSkillz; 11/05/17 12:03 AM.