ComChannels *UPDATETD*

By G13AoUsTiS on Dec 26, 2007

Thanks to the comments you posted for me i changed this code a bit

alias comchan {
  window -m @ComChans
  //echo @comchans 12*4Listing ComChans With $1
  var %nchan = 1  
  :loop
  while (%nchan <= $comchan($1,0)) { 
    //echo @ComChans 12*14 $+ $comchan($1,%nchan)
    inc %nchan 
    goto loop
  }

Comments

Sign in to comment.
Lindrian   -  Dec 27, 2007

just use a regular loop

alias com.chan {
var %x = 1
while ($comchan($1,%x)) {
echo -a $v1
inc %x
}
}
 Respond  
brattmfc   -  Dec 27, 2007

good stuff :) any one know how to check for comchans if you connect to multiple networks. e.g search for comchans with \"BobMarley\" on every network im connected to.

 Respond  
guest598594   -  Dec 26, 2007
  var %x = 1
  while $comchan($$1,%x) {
    echo -a $v1
    inc %x
  }
 Respond  
Freckle   -  Dec 26, 2007

Sorry but I find that script pretty messy, why didn\'t you use \"while\"?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.