Ahh okay i understand now with using room-id instead of if ($0 == 1). WOuld the script be the same for resubs and gifted subs? as resubs and gifted are still not being detected.
Code:
raw USERNOTICE:*:{
  if (($msgtags(msg-id).key == resub) && ($msgtags(room-id) == 39298218)) {
    var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
    VAR %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99) 
    msg $1 %nick has just resubscribed for $msgtags(msg-param-months).key months in a row with a %sub-plan sub!
  }
}

Code:
raw USERNOTICE:*:{
  if (($msgtags(msg-id).key == subgift) && ($msgtags(room-id).key == 39298218)) {  
    var %nick_from $iif($msgtags(display-name).key, $v1, $msgtags(login).key) , %nick_to $iif($msgtags(msg-param-recipient-display-name).key, $v1, $msgtags(msg-param-recipient-user-name).key)
    VAR %sub-plan $replace($msgtags(msg-param-sub-plan).key, 1000, $chr(36) $+ 4.99, 2000, $chr(36) $+ 9.99, 3000, $chr(36) $+ 24.99)
    msg $1 Thank you %nick_from for gifting a %sub-plan sub to %nick_to $+ !
  }
}

They havent been detecting if someone resubs or gifts a sub.
Also with the resub one idk how id get it respond to resubs that use a message and then when they do resub with a message for it to say the message they put along with Saying Thank you %nick for resubscribing with a %sub-plan sub! with a message " "

Last edited by Predatorfusion; 16/03/18 01:43 PM.