Don't do it the way RusselB suggested, or the window would only contain the last networks scanned channels. There's two options for this, one: you can do it the way RusselB said, but remove the /clear command from the script, or you can do it the more optimal way, and code it in (so that you don't do something stupid by accident with the double evaluating nature of /scon).

With just a couple changes you can make it safe and idiot proof. (or so we hope....)
Code:
alias wildfind {
  var %w = @wildfind , %text = $1-
  window -he %w | clear %w

  var %n = 1
  while ($scon(%n)) {
    scon %n
    aline 4 %w --------[ NETWORK: $network ]----------

    var %i = 1
    while ($chan(%i)) {
      aline 4 %w -------------- Channel: $v1
      filter -wwzb $v1 %w %text
      aline %w 
      inc %i
    }

    scon -r
    inc %n
  }

  window -aw3 %w
}