Imagine the possibilities:

if $($has_js,2) {
  for (i = 1; i <= mirc.chan(0); i++) { 
    mirc.vars.chans += " " + mirc.chan(i)
  }
}
echo -a %chans

June 26th 2008: Version 1.0 released.

Download v1.0 | License | Documentation

* JS4mIRC is only compatible with mIRC 6.3+