I am trying to figure out the correct usage of $aop. The $aop(address/N) identifier returns any matching address in the list, or the Nth address. The .type property returns the list of channels.
raw 352:*: {
if ($aop == $true) && ($3 !isop $aop.type) { /mode $2 +o $3 }
halt
}
or should it be used as
raw 352:*: {
if ($aop($3) == $true) && ($3 !isop $aop($3).type) { /mode $2 +o $3 }
halt
}