I am trying to get this to work, What I want is for the script to list the common channels that the nick is in with me, The while loop dosnt seem to be increasing. and it ends up in a loop. with only first channel showing.


test {
var %nickcom = $1
var %cc = 1
while (%cc <= $comchan(%nickcom,0)) { //echo -a $comchan(%nickcom,%cc) Test complete }
inc %cc 1
}