mIRC Homepage
Posted By: Doomstars /part - 30/08/03 02:57 AM
Maybe a way to part all the channels except certain ones.

Like /part -e #specificCHANyouDONTwantToLeave,#OtherChannel

-e standing for exception.
Posted By: Jerk Re: /part - 30/08/03 05:29 AM
Why include a channel in /part if you do not want to part it? If you mean /partall then this could be accomplished by an alias for now though I see no harm in adding it. Quickie example:
Code:
alias PartAll {
  if (-*e* iswm $1) {
    var %i = 1
    while ($chan(%i)) {
      var %chan = $ifmatch
      if (!$istok($2,%chan,44)) { part %chan $3- }
      inc %i
    }
    echo $color(info) -est * Parting all channels...
  }
  else { !partall $1- }
}
Posted By: Doomstars Re: /part - 30/08/03 05:36 AM
I guess it would be better suited as /partall -e #chanexception1,#chanexception2 to part all the channels but those two. Something I think should be built in, but oh well. Time will tell.
Posted By: KingTomato Re: /part - 02/09/03 12:45 AM
Partall with exception would b nice...
© mIRC Discussion Forums