mIRC Homepage
Posted By: wobY [Twitch ]Cheering - 26/02/17 05:19 PM
Since Twitch introduced cheering with emotes like Kappa, Kreygasm and SwiftRage(https://blog.twitch.tv/big-news-for-chee...ca13#.ej5jpbnd0) would this work?
Code:
on $*:TEXT:/(^|\s)cheer\d+(\s|$)/i:#: {
  if ($msgtags(room-id).key == <ROOM ID> && $msgtags(bits).key) {
    var %numberOfBits = $msgtags(bits).key
    var %bitsIntoUSD = $calc(%numberOfBits / 100)
    describe $chan THANK YOU $msgtags(display-name).key $+ ! HE DONATED $msgtags(bits).key ( $+ $+($,%bitsIntoUSD) $+ ) BITS!
  }
}
Posted By: Bestpeff Re: [Twitch ]Cheering - 13/03/17 07:23 PM
Yes filling in "kreygasm", "swiftrage", "kappa", "muxy", and "twitchalerts" will all work. Just replace the "cheer" and leave everything else the same (:
© mIRC Discussion Forums