It stores the command you give it. It only queues the commands you'd normally send the server straight away. It doesn't change the commands at all. If you give it "msg #mychannel ohai!" command, it'll execute exactly that command. The only difference between this and the normal way you'd send messages, is that you add "addbuf" in front of the commands.
It wouldn't be hard to make it alternate between two or more connections.
alias flushbuffer {
if ($line(@buffer,1)) {
inc %flushbuffer
if (!$scon(%flushbuffer)) %flushbuffer = 1
scid %flushbuffer $v1
dline @buffer 1
.timerbuffer -m 1 $round($calc(350 /$scon(0)),0) flushbuffer
}
else window -c @buffer
}
That would alternate between all of the connections in specific order from 1 to whatever. It will also divide the 350 ms between the number of connections. It doesn't check for anything though, if you're connected to some other network, it would still try to send a command there too. If disconnected, it would still try to send a command.
It wouldn't be too hard to make it check for those things, but I'm lazy. You can use $scon(<number>).status to check if it's connected, and $scon(<number>).network to what network it's connected.