This is what i use for new subs

Code:
on *:TEXT:*subscribed*:#:{
  if ($nick == twitchnotify) {
    if ($5 == $null || $5- == Twitch Prime!) {
      msg # Thank you @ $+ $1 for subscribing!
    }
  }
}


This is for resubs

Code:
raw USERNOTICE:*:{
  if $msgtags(msg-id).key = resub {
    if $target = #yourchannel {
      var %months = $msgtags(msg-param-months).key
      var %user = $replace($iif($msgtags(displayname).key,$msgtags(displayname).key,$msgtags(login).key),\s,$chr(32))
      msg $target @ $+ %user with the resub! Thanks for %months months of support!
    }
  }
}


Cheers! smile


Life is potato.