Something like this works? I apologize if you have errors and ask many questions, it's just I'm new to mIRC.
Original:
raw USERNOTICE:*:{
if ($msgtags(room-id).key == [CHANNEL ID HERE]) {
if ($2- == $null) && (resub isin $msgtags) {
msg $1 Welcome back $msgtags(display-name).key has resubscribed for $msgtags(msg-param-months).key months in a row!
}
else {
msg $1 Welcome back $msgtags(display-name).key has resubscribed for $msgtags(msg-param-months).key months in a row with the message $2-
}
}
}
Example edited script:
raw USERNOTICE:*:{
if ($chan == #channame && ( $msgtags(msg-id).key == resub)) {