Hey @OAM,
Try using this code:
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*:#channelname:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
elseif ($nick == twitchnotify) && ( $4 == $null ) { describe $chan $1 just subscribed to the stream! }
}
raw USERNOTICE:*:{
if ($msgtags(room-id).key == [CHANNEL ID HERE]) {
if ($2- == $null) && (resub isin $msgtags) {
msg $1 $msgtags(display-name).key has been subbed for $msgtags(msg-param-months).key months in a row!
}
else {
msg $1 $msgtags(display-name).key has been subbed for $msgtags(msg-param-months).key months in a row with the message: " $2- "!
}
}
}
Remember in the
Room-ID is not going this "
[ ]" or the bot will not respond you.