mIRC Home    About    Download    Register    News    Help

Topic Options
#258448 - 04/07/16 03:30 PM [Twitch] Welcome new Subscribers
Khonor Offline
Babel fish

Registered: 23/06/14
Posts: 77
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.


Edited by Khonor (04/07/16 04:11 PM)

Top
#258449 - 04/07/16 08:12 PM Re: [Twitch] Welcome new Subscribers [Re: Khonor]
westor Offline
Hoopy frood

Registered: 27/12/08
Posts: 1511
Loc: Greece
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!
}
_________________________
Need Online mIRC help or an mIRC Scripting Freelancer? -> http://westor.ucoz.com/contact <-

Top
#258450 - 04/07/16 11:06 PM Re: [Twitch] Welcome new Subscribers [Re: westor]
Khonor Offline
Babel fish

Registered: 23/06/14
Posts: 77
Hey @westor,

Thanks very much for your help! smile

Top