I do not fully understand what you said..
But I have:

alias showall {
  var %a = $scon(0)
  while (%a) {
    scon %a
    if ($network == Paranormal) showpara
    if ($network == NeuralNet) showoxy
    dec %a

In the script..

But that is also in the other mirc I run.. Almost identical scripts..

And in the other it works.. So this is just baffeling me..

I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.