mIRC Homepage
Posted By: westor /join - issue! - 30/06/09 02:26 PM
Hello,

I don't know if this is a currently a bug but still be a problem!
when i use /join #0,0 command it's parting me from all the channels is this a problem or not? i see it is a problem!

try using : /join #0,0
Posted By: Horstl Re: /join - issue! - 30/06/09 02:36 PM
/join 0 = "part all chanels" is as old as IRC. There's nothing wrong with mIRC.

Edit: ...and mIRC ignores channel "0" in "auto-join on invite" since v4.1
Posted By: westor Re: /join - issue! - 30/06/09 02:46 PM
So it's not an issue ?
Posted By: Horstl Re: /join - issue! - 30/06/09 02:52 PM
Nope. Even if it may be (ab)used for a corny joke.
Posted By: RoCk Re: /join - issue! - 30/06/09 03:23 PM

Also, it's the server doing it, not mIRC. If you /debug you would see that mIRC sends JOIN 0 to the server and the server sends the PART replies to mIRC.
Posted By: westor Re: /join - issue! - 30/06/09 10:17 PM
How can i fix this myown?
Posted By: starbucks_mafia Re: /join - issue! - 30/06/09 10:45 PM
Simply don't join "0".

For convenience you can always use a more comprehensive alias that will ensure all channels given to /join have a channel-specifier:

Code:
alias join {
  join $regsubex($1-, /([^\x2c]+)/g, $iif($left(\1, 1) isin $chantypes, \1, $chr(35) $+ \1))
}
Posted By: westor Re: /join - issue! - 01/07/09 10:31 AM
Yes, have a look and at the /join option's

e.g: /join -n #channel
[13:30:36] * Now talking in #-n

the code that you gave is not contains the JOIN option's! so it's wrong!
Posted By: argv0 Re: /join - issue! - 01/07/09 05:01 PM
westor: I don't think you should be blaming people for giving you example code that doesn't do exactly what you need. It's not "wrong", it's just incomplete. Instead of complaining, fix it yourself.
Posted By: starbucks_mafia Re: /join - issue! - 01/07/09 07:09 PM
Code:
alias join {
  if -* iswm $1 {
    var %switches = $1
    tokenize 32 $2-
  }
  join %switches $regsubex($1-, /([^\x2c]+)/g, $iif($left(\1, 1) isin $chantypes, \1, $chr(35) $+ \1))
}


Good job I was here to overcome this difficult obstacle!
Posted By: westor Re: /join - issue! - 02/07/09 12:13 AM
Originally Posted By: argv0
westor: I don't think you should be blaming people for giving you example code that doesn't do exactly what you need. It's not "wrong", it's just incomplete. Instead of complaining, fix it yourself.


I didn't say that into that way, just said that is wrong! one if it is wrong then is not a code is a wrong! laugh , and i appreciate the example and his/her work for giving me the example and just i said the result's and nothing bad for him/her and for the code completeness smile , i don't want to think that i am this kind of person! and nobody could be perfect all the humans guy's made and will make wrongs until the death :P
© mIRC Discussion Forums