loop through all servers and channels - 16/11/07 12:34 AM
anyone have an alias i can use to loop through all server status connections open and then loop through each channel for the server status and echo it?
alias loopy { var %con = $scon(0) while (%con) { scon %con var %cha = $chan(0) while (%cha) { echo -a :: $server :: $chan(%cha) :: dec %cha } dec %con } }
alias loopy { var %con = 1 while ($scon(%con)) { scon %con var %cha = 1 while ($chan(%cha)) { echo -a :: $server :: $v1 :: inc %cha } inc %con } }