mIRC Homepage
is the re any way to get mIRC to automaticaly /msg a xdcc bot when it comes online?

Like:
if <xdcc bot> online
/msg <xdcc bot> xdcc send #

or something like that. I am new to scripting but I am a very fast learner and would like to take the time to learn.
Add the nick to your notify list by typing /notify nickname, and put this script in the remote...
  • On *:notify: if $nick == <bot name> { msg $nick xdcc send #N }
This event will trigger also when you are connecting to the server and the bot is already on.
How do I make that work for a particular network/channel?
You can check: if $nick == <bot nick> && $network == <network name> { do stuff }

The notify system is global and triggers once a user is logging on the server, no matter what channels they choose to join.
Just want to clarify things:

So if I put this in my remorte script then when the bots goes online it will make it send me stuff?

On *:notify: if $nick == <tds-p0009> { msg $tds-p0009 xdcc send #1 }
On *:notify: if $nick == <airc-043> { msg $airc-043 xdcc send #2 }
You can't have two similar events in the same remote file, because only the first one will work. Try this one,
  • On *:notify: if $nick == tds-p0009 { msg $nick xdcc send #1 } | elseif $nick == airc-043 { msg $nick xdcc send #2 }
and make sure they are in your notify list.
How would I go about messaging 5 different bots when they came online?

could I just keep using the elsif term?

on *:notify: {
if ...
elseif ...
elseif ...
elseif ...
else ...
}
© mIRC Discussion Forums