I am trying to modify the output of whois so that only returns the channels that an user has ops in.

I'm pretty new to all this and am struggling to understand how arrays etc. are implement in mirc.

This is what I am trying to do.


raw 319:*:{

split channel string ($3-) in to an array

loop through array {
. if $regex($array_element,^@) { ;if array element begins with an @
.... add to the end of $list_chans_with_ops
. }
}
msg $me $list_chans_with_ops
}


Any pointers greatly appreciated.


Last edited by nish; 10/06/08 09:15 PM.