mIRC Home    About    Download    Register    News    Help

Print Thread
Script help #242872 12/09/13 06:57 PM
Joined: Sep 2013
Posts: 4
P
Peterizbawz Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Sep 2013
Posts: 4
If this message appears
<twitchnotify> username just subscribed!
i want it to
msg $chan Thanks for subscribing $nick
ONLY FROM THE USER TWITCHNOTIFY else it is not allowed to type the message above.. i cant figure out what to do please help me smile

-Peter

Re: Script help [Re: Peterizbawz] #242873 12/09/13 07:06 PM
Joined: Feb 2011
Posts: 311
K
KindOne Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Feb 2011
Posts: 311
Code:
on *:text:*just subscribed*:#:{
if ($nick == twitchnotify) { 
msg $chan Thank you for subscribing $1
}
}


See:
/help on text
/help /if
/help $nick

http://www.zigwap.com/mirc


irc.swiftirc.net #msl (mIRC Scripting Language)