mIRC Homepage

[Twitch] Welcome new Subscribers

Posted By: Khonor

[Twitch] Welcome new Subscribers - 04/07/16 02:30 PM

Hi all,


I'm looking for the way the new subscriber command is executed only when the owner of the channel is live and not when doing Host another channel.

Any help or suggestion is welcome and grateful.



Quote:
on 1:TEXT:*subscribed*:#:{
if ( $nick == twitchnotify ) && ($istok($1-,subscribed to,32)) halt
elseif ($nick == twitchnotify) { /msg # ˇˇWelcome $1 $+ !! Thanks for subscribe! }
}



_______________________________

Don't forget to follow me on Twitch.
Posted By: westor

Re: [Twitch] Welcome new Subscribers - 04/07/16 07:12 PM

Try use this:

Code:
on 1:TEXT:*subscribed*:#:{
if (ENTER-HERE-THE-OWNER-NICK !ison $chan) || ($nick !== twitchnotify) || ($istok($1-,subscribed to,32)) { return }
msg $chan ˇˇWelcome $1 $+ !! Thanks for subscribe!
}
Posted By: Khonor

Re: [Twitch] Welcome new Subscribers - 04/07/16 10:06 PM

Hey @westor,

Thanks very much for your help! smile
© 2019 mIRC Discussion Forums