on *:LOGON:*:{
raw CAP REQ :twitch.tv/membership
raw CAP REQ :twitch.tv/tags
raw CAP REQ :twitch.tv/commands
/debug @raw
}
raw USERNOTICE:*:{
if ($msgtags(room-id).key != 103495737) return
if (!$window(@Subs)) window @Subs
echo $+([,$time,]) @Subs msg-id.key $msgtags(msg-id).key display-name.key: $msgtags(display-name).key msg-param-sub-plan.key: $msgtags(msg-param-sub-plan).key
}
if ($msgtags(msg-id).key == sub) {
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, Prime, Prime)
msg $1 shoxx91Herzz %nick shoxx91Herzz Danke für deine %sub-plan Sub! shoxx911hype Willkommen in der Shoxx-Community! shoxx91Herzz shoxx91Herzz
msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
}
elsif ($msgtags(msg-id).key == resub) {
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, Prime, Prime)
msg $1 shoxx91Herzz %nick shoxx91Herzz Danke für deinen ReSub im $msgtags(msg-param-months).key Monat in folge mit einem %sub-plan Sub! shoxx91Herzz shoxx91Herzz
msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
msg $1 shoxx91Herzz shoxx911hype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx91SHype shoxx911hype shoxx91Herzz
}
elseif ($msgtags(msg-id).key == subgift) {
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 shoxx91Herzz shoxx911hype %nick_from shoxx911hype shoxx91Herzz Danke das du einen %sub-plan Sub an %nick_to $+ verschenkt hast! shoxx911hype shoxx91Herzz
}
elsif ($msgtags(msg-id).key == bits) {
?????? ?????? ?????
}
}
}
else {
echo 4 @Subs Warning: The above message was not handled.
}
}