mIRC Home    About    Download    Register    News    Help

Print Thread
msg multiple channels #33834 03/07/03 04:32 PM
Joined: Apr 2003
Posts: 57
V
very_confused Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Apr 2003
Posts: 57
how can i send the same msg to multiple channels

Re: msg multiple channels #33835 03/07/03 04:43 PM
Joined: Feb 2003
Posts: 2,765
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,765
The /amsg command sometimes works, depending on what network you are on. You can also specify multiple comma-seperated targets in almost any command, including /msg. So /msg #chan1,#chan2,Nick1,Nick2,#chan3 Message, is technically possible... except most servers prohibit multiple targets to reduce spam.

The simple answer, most servers don't allow it
Don't be surprised if my suggestions dont work.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: msg multiple channels #33836 03/07/03 04:54 PM
Joined: Apr 2003
Posts: 57
V
very_confused Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Apr 2003
Posts: 57
/amsg works but i only want to msg certain channels on a network

/msg #uc,#oC Hello displays in #uc but not in #oC

Re: msg multiple channels #33837 03/07/03 04:58 PM
Joined: Feb 2003
Posts: 2,765
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,765
Those are the breaks, I'm afraid. You will have to send seperate messages to each channel. An alias can be written to automate this by breaking the channels into individual messages with a loop... but be careful not to flood yourself off with a large list.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: msg multiple channels #33838 03/07/03 05:07 PM
Joined: Dec 2002
Posts: 169
J
Jerk Offline
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
It will display something like
-> *#chan1,#chan2* <message>
but the message is being sent to both channels. If you want it to look nice you are going to have to write your own msg alias that hides the real /msg and /echo's the message the way you want.

Re: msg multiple channels #33839 03/07/03 05:09 PM
Joined: Feb 2003
Posts: 2,765
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,765
He might have asked people in #oC (#chan2) if they saw the message or not.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: msg multiple channels #33840 03/07/03 05:43 PM
Joined: Dec 2002
Posts: 169
J
Jerk Offline
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
You can still send all the msgs in one line. You just have to break up the /echo's.
Code:
alias mmsg {
  !.msg $$1 $$2-
  var %i = 1
  while ($gettok($1,%i,44) != $null) {
    var %target = $ifmatch
    if ((%target ischan) || ($query(%target))) {
      echo $color(normal) -bftlmi %target $+(&lt;,$me,&gt;) $2-
    }
    else {
      echo $color(normal) -abftlmi -&gt; $+(*,%target,*) $2-
    }
    inc %i
  }
}
It's a pretty simple alias without the bells and whistles. It wont color your own nick and it wont add the mode prefix. I am too lazy to throw that in.

Re: msg multiple channels #33841 03/07/03 05:50 PM
Joined: Feb 2003
Posts: 2,765
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,765
Actually, depending on the server/network you are on, you can't send the messages all in one line, but have to break the messages up aswell. It will indicate that "Message was not received by all targets" or "Cannot send to multiple targets" or "Too many recipients", etc.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: msg multiple channels #33842 03/07/03 06:28 PM
Joined: Apr 2003
Posts: 57
V
very_confused Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Apr 2003
Posts: 57
yeah the msg #uc,#oC does work i loaded a clone into the network the did it
thx

Re: msg multiple channels #33843 23/07/03 06:40 AM
Joined: Jul 2003
Posts: 1
K
kirankhan Offline
Mostly harmless
Offline
Mostly harmless
K
Joined: Jul 2003
Posts: 1
hii
how r uuuuuuuu

Re: msg multiple channels #33844 04/08/03 12:37 PM
Joined: Aug 2003
Posts: 17
C
Clubfoot Offline
Pikka bird
Offline
Pikka bird
C
Joined: Aug 2003
Posts: 17
alias mmsg var %m $2- | tokenize 44 $1 | .msg $* %m