Quote:
I changed my code, had some typos and needed to change the op command to the mode
Code:
alias opup {
  var %chncnt = $comchan($$1,0)
  var %i = 1
  while (%i <= %chncnt) {
    if ( $comchan($1,%i).op == $true ) { mode $comchan($1,%i) +o $1 }
    inc %i
  }
}


I still cannot get that to work either.

But I'll use my Allias command.

smile


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