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*:#mlgjrated:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) { halt }
elseif ($nick == twitchnotify) && ( $4 == $null ) { describe $chan jrateLove $1 has just subscribed!! jrateHype }
}
raw USERNOTICE:*:{
if (($msgtags(msg-id).key == resub) && ($1 == #mlgjrated)) {
var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
if ($0 == 1) {
describe $1 jrateLove %nick has just subscribed for $msgtags(msg-param-months).key months in a row! jrateHype
}
else {
describe $1 jrateLove %nick has just subscribed for $msgtags(msg-param-months).key months in a row! jrateHype Message: $qt($2-)
}
}
}