mIRC Home    About    Download    Register    News    Help

Print Thread
{TWITCH} Need Resub Scrip For Thanking New Subs #259179 12/10/16 07:28 PM
Joined: Oct 2016
Posts: 8
G
Gusify Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2016
Posts: 8
i have the scrip for new subs where i can do emotes and say thank you but need a working resub scrip

Re: {TWITCH} Need Resub Scrip For Thanking New Subs [Re: Gusify] #259181 12/10/16 11:55 PM
Joined: Sep 2016
Posts: 34
F
Furiny Offline
Ameglian cow
Offline
Ameglian cow
F
Joined: Sep 2016
Posts: 34
@Gusify

This is for resubscribers, it will check does resubscriber have a message with it or not. Make sure you change #CHANNELNAME and edit <ENTER MESSAGE HERE> as which one you want.

Example: msg $1 Thank you, $msgtags(display-name).key for $msgtags(msg-param-months).key months in a row!

Additionally, change msg to describe if you want to change your message into color of your nick color.

Code:
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 ($1 == #CHANNELNAME ) {
    if ($2- == $null) && (resub isin $msgtags) {
      msg $1 <ENTER MESSAGE HERE> $msgtags(display-name).key for $msgtags(msg-param-months).key months in a row!
    }
    else {
      msg $1 <ENTER MESSAGE HERE>  $msgtags(display-name).key for $msgtags(msg-param-months).key months in a row with the message: " $2- "!
    }
  }
}

Last edited by Furiny; 12/10/16 11:56 PM.
Re: {TWITCH} Need Resub Scrip For Thanking New Subs [Re: Furiny] #259183 13/10/16 03:30 AM
Joined: Oct 2016
Posts: 8
G
Gusify Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Oct 2016
Posts: 8
thank you, i will try this in tomorrows stream!