mIRC Home    About    Download    Register    News    Help

Print Thread
/part #44993 30/08/03 02:57 AM
Joined: Dec 2002
Posts: 339
D
Doomstars Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Dec 2002
Posts: 339
Maybe a way to part all the channels except certain ones.

Like /part -e #specificCHANyouDONTwantToLeave,#OtherChannel

-e standing for exception.

Re: /part #44994 30/08/03 05:29 AM
Joined: Dec 2002
Posts: 169
J
Jerk Offline
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
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- }
}

Re: /part #44995 30/08/03 05:36 AM
Joined: Dec 2002
Posts: 339
D
Doomstars Offline OP
Fjord artisan
OP Offline
Fjord artisan
D
Joined: Dec 2002
Posts: 339
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.

Re: /part #44996 02/09/03 12:45 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Partall with exception would b nice...


-KingTomato