Added by Per Amundsen almost 11 years ago
Adds a Toolbar icon to reconnect all disconnected servers, and also adds a /reconnectall command.
A example icon is attached.
alias reconnectall {
  var %s 0
  while (%s < $scon(0)) {
    inc %s
    scon %s
    if ($status == disconnected) {
      server
    }
  }
}
alias -l loadicon {
  toolbar -d reconnectall
  toolbar -a reconnectall "Reconnect All" reconnect.png /reconnectall
}
on *:LOAD:loadicon
on *:START:loadicon
    | reconnect.png (1.31 KB) reconnect.png | 
Genius.