Hey @thewizard_123,


Try using this code:

Quote:
on *:LOGON:*:{
raw CAP REQ :twitch.tv/tags
raw CAP REQ :twitch.tv/membership
raw CAP REQ :twitch.tv/commands
/debug @raw
}

on 1:TEXT:*subscribed*:#CHANNEL NAME HERE:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
elseif ($nick == twitchnotify) && ( $4 == $null ) { /msg $chan welcome $1 lirikH enjoy your stay lirikH }
}


raw USERNOTICE:*:{
if (($msgtags(msg-id).key == resub) && ($1 == #CHANNEL NAME HERE)) {
var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
if ($0 == 1) {
/msg $chan $1 welcome back %nick for $msgtags(msg-param-months).key months in a row! lirikH
}
else {
/msg $chan $1 welcome back %nick for $msgtags(msg-param-months).key months in a row with the message: $qt($2-) lirikH
}
}
}