mIRC Home    About    Download    Register    News    Help

Topic Options
#174306 - 05/04/07 12:25 PM /amsg handling
jaytea Offline
Fjord artisan

Registered: 23/02/06
Posts: 546
when MAXTARGETS= exists in raw 005, mIRC knows it can use the #chan,#chan,#chan target format instead of sending multiple commands to the server, but it strikes me as odd that it doesn't look at the actual value of MAXTARGETS and split up the messages accordingly

for example, MAXTARGETS=3 and you're on 5 channels #a,#b,#c,#d,#e. /amsg will send:

PRIVMSG #a,#b,#c,#d,#e

when it should send:

PRIVMSG #a,#b,#c
PRIVMSG #d,#e

i haven't tested it for other similar commands like /ame, /qme, /qmsg (maybe even /omsg, /onotice etc.) but i imagine they also have this problem. tested on 6.21 of course
_________________________
"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde

Top
#174334 - 05/04/07 07:52 PM Re: /amsg handling [Re: jaytea]
Spitfire3292 Offline
Babel fish

Registered: 28/03/07
Posts: 60
Loc: MD, United States
Hmm. I never realized that. Nice work. This should be fixed for the next version because many people are on more channels than the MAXTARGETS value allows. If somebody wants to say something important to all channels they would have to use a small and slow while loop or use noop. It would be a lot easier if the /amsg had this already implemented into it.
_________________________
"In order to succeed, your desire for success should be greater than your fear of failure."

Top
#174360 - 06/04/07 05:44 PM Re: /amsg handling [Re: jaytea]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4379
Loc: London, UK
Thanks this should work correctly in the next version.

Top
#174368 - 06/04/07 07:25 PM Re: /amsg handling [Re: Khaled]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
Yay no more 'Too many recipients' messages. smile

Top
#174450 - 08/04/07 12:08 AM Re: /amsg handling [Re: RoCk]
FaiNT Offline
Babel fish

Registered: 18/02/06
Posts: 65
and mirc should also queue msgs more then 3, some servers allow 300 chans, and like 4 maxtargets, that will get u flood-killed.
_________________________
known on irc as MrStonedOne
read my full post before replying or dont reply. tl;dr isn't allowed here

Top