mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2016
Posts: 1
W
Mostly harmless
OP Offline
Mostly harmless
W
Joined: Dec 2016
Posts: 1
Just looking for a script for twitch chat, IF a user subbed for say 3 months it says thanks for subbing! with 3 emotes, more months = more emotes? if anyone can help, cheers

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
Code:
raw USERNOTICE:*:{
 if (resub isin $msgtags) {
    msg $1 Thank you $msgtags(display-name).key for subbing $msgtags(msg-param-months).key months in a row! $str(Kappa $chr(32),$msgtags(msg-param-months).key)
  }
}

This hasn't been tested. However the main thing that you want is the $str(Kappa $chr(32),$msgtags(msg-param-months).key) which will multiply the message based on the number of months they subbed for.

Last edited by zapdos26; 16/12/16 07:16 PM.
Joined: Oct 2016
Posts: 22
W
Ameglian cow
Offline
Ameglian cow
W
Joined: Oct 2016
Posts: 22
It works, just tested it laugh

Joined: Dec 2016
Posts: 16
H
Pikka bird
Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
Could you copy this into a pastebin with this sub script for me http://pastebin.com/4mkAt4Mq I'm new to using IRC's & Not sure how to.


Link Copied to Clipboard