Twitch Prime subscriber notify, & how to code an auto message when someone @'s me in chat? reddit / irc ---------------------------------------------------------------------- [deleted] · 2020-01-12 21:25 [deleted] ---------------------------------------------------------------------- webvictim · 2020-01-12 23:27 Did you write the bot in mIRC script or what? If you’re using mIRC, you probably want a remote of some kind: https://www.mirc.com/help/html/index.html?on_text.html ---------------------------------------------------------------------- 9nty · 2020-01-13 00:00 Yes, I wrote my script in the "Remote" tab. I am using mIRC but trying to figure out the code for the twitch prime subs and an automated response message when people @ me in chat. I will have a look at the link you have provided me. ---------------------------------------------------------------------- 9nty · 2020-01-13 00:28 Can't seem to find the Twitch Prime notify message. If you could help that would be great. ---------------------------------------------------------------------- TheAmazingFailure · 2020-01-13 07:35 [https://discuss.dev.twitch.tv/t/new-subscriber-event-in- irc/9773](https://discuss.dev.twitch.tv/t/new-subscriber-event-in- irc/9773) This is probably what you are looking for in regards to the notifications. [Here](https://pastebin.com/raw/kPXBu1B9) is an example I threw together. Very basic but it should work when you replace YourTwitchName and MyTwitchName in the script. (leave # and @ in, those are important) Feel free to ask questions. It's been a long time since I've done anything with mIRC scripting but I remember the basics at least. ---------------------------------------------------------------------- 9nty · 2020-01-13 22:21 Hey, thanks for your response and for helping me out. It has been days researching/searching for the code so I can have it for my script. I will respond to you if anything breaks or doesn't work. I have edited the script code for the channel who I mod for so I'm hoping the script loads when a Twitch Prime sub in the channel goes off. ​ Here is the result of the code (edited); [https://i.imgur.com/NUOLxPQ.png](https://i.imgur.com/NUOLxPQ.png) ---------------------------------------------------------------------- 9nty · 2020-01-14 18:15 Have an issue where it doubles messages the username who has re- subscribed. It mentioned that person was on a 3rd-month streak but the message script said: "subscribed with 0 months" ?? Which I find extremely weird. [https://i.imgur.com/hUrkoMv.png](https://i.imgur.com/hUrkoMv.png) The script code is this; ​ >if (($msgtags(msg-id).key == resub) && ($msgtags(room-id).key == 147554495)) { > >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 /me bingCool !!SUB HYPE!! bingHeart %nick has just resubscribed for $msgtags(msg-param-months).key months in a row with a %sub-plan Sub! tehranLove > >}