mIRC Home    About    Download    Register    News    Help

Print Thread
display /msg multiple chans #183415 19/08/07 09:31 PM
Joined: Sep 2003
Posts: 38
S
snabbi Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2003
Posts: 38
I dislike the way a message to multiple chans is showed in mirc. This is why I wanted to write my own alias for the msg event. This is my code:

msg {
if ( $numtok($1,44) > 1 ) { var %i = $v1
while ( %i ) { echo -t $gettok($1,%i,44) $+(<,$nick($gettok($1,%i,44),$me).pnick,>) $2- | dec %i }
}
!msg $1-
}

The only problem is that I also want to use the msg command in quiet mode. Is there any identifier to tell me if the msg command is called from quiet mode?


----
I already got the solution $show.
Still I'd like to suggest this as a feature made by mirc, showing the msg in multiple chans instead of me having to code it

Last edited by snabbi; 19/08/07 09:33 PM.
Re: display /msg multiple chans [Re: snabbi] #183418 19/08/07 10:04 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Feature Suggestions, have their own section on this forum.

Please post your Feature suggestion there, and also please be sure to mention/reference this topic so that people don't think you're double posting.

Re: display /msg multiple chans [Re: snabbi] #183419 19/08/07 10:08 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Well the $show identifier tells you if the . prefix was used, but you don't need to check it in this case. If you use the prefix with an alias mIRC will take that into account and apply it to commands called within that alias.


Spelling mistakes, grammatical errors, and stupid comments are intentional.