mIRC Home    About    Download    Register    News    Help

Print Thread
Nick quits network,Bot will post another room! #267288 09/05/20 03:46 AM
Joined: May 2020
Posts: 9
K
Kendy Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
K
Joined: May 2020
Posts: 9
Please help me to make a short snippets when someone is quits in #channel1,#channel2 the bot will msg to #logchan.
If nick (nick quits) is on #logchan only,the script don’t msg to #logchan.
Thanks for help!

Re: Nick quits network,Bot will post another room! [Re: Kendy] #267297 12/05/20 01:34 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code
on *:quit:{
  if ($nick ison #logchan) && ($me ison #logchan) && ($comchan($nick,0) > 1) { msg #logchan (your message here) }
}