how can i send the same msg to multiple channels
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
/amsg works but i only want to msg certain channels on a network
/msg #uc,#oC Hello displays in #uc but not in #oC
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.
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.
He might have asked people in #oC (#chan2) if they saw the message or not.
You can still send all the msgs in one line. You just have to break up the /echo's.
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 $+(<,$me,>) $2-
}
else {
echo $color(normal) -abftlmi -> $+(*,%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.
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
yeah the msg #uc,#oC does work i loaded a clone into the network the did it
thx
alias mmsg var %m $2- | tokenize 44 $1 | .msg $* %m