mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Stop talking in riddles lol, what's the deja vu and what do I have to do with it o.O? :tongue:


Gone.
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
What would this join: join #chan1,#chan2 key1,key2 ?
chan1 with key1 and chan2 with key2

Yes exactly smile

join #chan1,#chan2 0,key2
to join #chan1 with 0 key (either 0 literally or no key and using the 0 as a placeholder) and #chan2 with key2

Technically this should work for the last... /join #chan1,#chan2 ,key2 ...but some ircds don't accept the empty parameter

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Hehehehe, well that is something we was talking about on MSN last night. I've just looked back, seems it was around half 9 not this time. laugh

Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
LOL yea I remember now, couldn't have been 2 pm hehe. Yep deja vu indeed smile


Gone.
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Thanks, good to know.


Gone.
Joined: Dec 2004
Posts: 80
C
Babel fish
OP Offline
Babel fish
C
Joined: Dec 2004
Posts: 80
so how u make a simple part channel script and a join channel script that only works when i type it but when othee people type it dont work? confused confused confused


practice makes perfect... smile
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
on owner:text:!join *:#:{
  if ($ulist($ial($me))) {
    var %a, %b = $regsub($$2,/(?<=^|\x2C)0+(?=\x2C|$)/g,,%a)
    join %a
  }
}


Add yourself to the user list.

/guser owner <your nick> 2

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
To add support for channel keys to mine just change join %a to join %a $3- smile


New username: hixxy
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Heh well, like I said, I made that regsub with incomplete knowledge about how you can join channels with keys in that particular way, so every comment I've made on the matter should be discarded.

Greets


Gone.
Page 2 of 2 1 2

Link Copied to Clipboard