mIRC Home    About    Download    Register    News    Help

Print Thread
#260086 26/02/17 05:19 PM
Joined: Oct 2016
Posts: 22
W
wobY Offline OP
Ameglian cow
OP Offline
Ameglian cow
W
Joined: Oct 2016
Posts: 22
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!
  }
}

Last edited by wobY; 26/02/17 05:22 PM. Reason: Link for cheermote
wobY #260210 13/03/17 07:23 PM
Joined: Apr 2016
Posts: 86
B
Babel fish
Offline
Babel fish
B
Joined: Apr 2016
Posts: 86
Yes filling in "kreygasm", "swiftrage", "kappa", "muxy", and "twitchalerts" will all work. Just replace the "cheer" and leave everything else the same (:


Link Copied to Clipboard