/*
Usage:
/minimize, to minimize all the windows in 1 server window
/minimizeall, to minimize all the windows in all the server windows
*/
alias minimize {
var %i = 1
while ($window(*,%i)) {
window -n $+(",$ifmatch,")
inc %i
}
}
[color:blue] [/color]
alias minimizeall scon -a minimize
To test it in action: Maximize a channel window, then hold alt+w+t to Tile all your windows. Then you can minimize the windows from a particular server with /minimize, or just minimize em all with /minimizeall.