mIRC Home    About    Download    Register    News    Help

Print Thread
/join - issue! #213552 30/06/09 02:26 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
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

Re: /join - issue! [Re: westor] #213553 30/06/09 02:36 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
/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

Re: /join - issue! [Re: Horstl] #213554 30/06/09 02:46 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
So it's not an issue ?

Re: /join - issue! [Re: westor] #213555 30/06/09 02:52 PM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Nope. Even if it may be (ab)used for a corny joke.

Re: /join - issue! [Re: westor] #213556 30/06/09 03:23 PM
Joined: Dec 2002
Posts: 2,020
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,020

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.

Re: /join - issue! [Re: RoCk] #213559 30/06/09 10:17 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
How can i fix this myown?

Re: /join - issue! [Re: westor] #213561 30/06/09 10:45 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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))
}


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: /join - issue! [Re: starbucks_mafia] #213580 01/07/09 10:31 AM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
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!

Re: /join - issue! [Re: westor] #213591 01/07/09 05:01 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: /join - issue! [Re: westor] #213595 01/07/09 07:09 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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!


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: /join - issue! [Re: argv0] #213600 02/07/09 12:13 AM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
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