Originally Posted By: zapdos26
Code:
raw USERNOTICE:*:{
 if (($msgtags(msg-id).key == sub) && ($1 == #couragejd)) {
  var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
  describe $1 NEW SUB!! bingOMG %nick welcome to the Courageous!! bingHeart 
 }
 elseif (($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-) 
  }
 }
}


Sorry for hijacking this thread.

I'm trying to set up an automsg for subs & resubs, and tried this without success.

I have used multiple scripts, and they either don't work, or only work for new subs, sometimes for prime, and never for resubs or if they include a message in their sub.

I'm not trying to use the twitchnotify check, as Twitch are getting rid of this and require you to use the room id, as new subs will not send USERNOTICE any more.

If anyone has a working script for this, please let me know! Thanks