mIRC Home    About    Download    Register    News    Help

Print Thread
#174973 15/04/07 09:22 AM
B
Blinkenlights
Blinkenlights
B
Perhaps I've not dug deep enough, but is there any way to control multiple sockets at once?

For example, sending one command to more than one socket?

Thanks in advance!

#174975 15/04/07 09:56 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
I think the only way to do this, is to duplicate the command(s) being sent for each socket. I admit I have a hard time working with sockets, and even the few scripts that have sockets that I do use, only use one socket.

Joined: Apr 2004
Posts: 217
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 217
When creating your sockets you can simple use a prefix.
Example, say you're running 16 sockets, well just prefix each socket with "quickCommand.<socket_name>"

Then when running a script I think you can try /sockwrite -nt quickCommand.* using the wildcard at the end of the prefix. Therefore mIRC will send to all sockets with the prfix quickCommand. in their name.

I think?

I'm not totaly sure but I believe that works. (I havent used sockets for awhile wink


Link Copied to Clipboard