Good health to all. My question: - Is there a way to send echo responses to all open windows at once without using a cycle?
If not, then I have a suggestion to improve this command with the addition of new keys.

To send text only to all open channel windows (#): /echo -k message
To send text only to all open privates windows (nicks): /echo -p message
To send text only to all open client windows (@): /echo -w message

And accordingly, sending to all windows will happen like this: /echo -kpw message

A simple example where this could come in handy.
When you try to replace the standard exit message with your own, using the prefix ^ in your handler: on ^*:QUIT: - then you should send echo at once to all open channel windows where the user was.
Using cycles slows down the overall program performance, what's not good, especially if you already have a lot of working scripts.

It would be great to have an efficient and simple solution. Thanks.


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples