I ran into this problem with New subs/resub scripts that whenever the channel (that the script is made for) goes into Host mode to another partnered streamer, the script will still trigger in the channel that's in Host mode.

An example is here:

https://gyazo.com/4064a3bd7f05e564acb6b19273b3649b

That user wasn't suppose to receive those points because he's not subscribing to Garge

Here is my script:

Code:
on *:LOGON:*:{
  raw CAP REQ :twitch.tv/membership
  raw CAP REQ :twitch.tv/tags
  raw CAP REQ :twitch.tv/commands
  /debug @raw
}

on 1:TEXT:*just subscribed*:#garge1:{
  if ($chan == #garge1 && $nick == twitchnotify) { 
    msg $chan !bonus $1 1000 
  }
}


raw USERNOTICE:*:{
  if (($msgtags(msg-id).key == resub) && ($1 == #garge1)) {
    var %nick $iif($msgtags(display-name).key, $v1, $msgtags(login).key)
    if ($0 == 1) {
      msg $1 !bonus %nick 1000
    }
    else {
      msg $1 !bonus %nick 1000
    }
  }
}


Help would be greatly appreciated <3

Last edited by Bestpeff; 07/11/16 01:39 PM.