mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2014
Posts: 77
K
Khonor Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2014
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.

Last edited by Khonor; 04/07/16 03:11 PM.
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
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? -> https://irc.chathub.org <-
Joined: Jun 2014
Posts: 77
K
Khonor Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2014
Posts: 77
Hey @westor,

Thanks very much for your help! smile


Link Copied to Clipboard