mIRC Home    About    Download    Register    News    Help

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

I
Iori
Iori
I
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,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
LOL yea I remember now, couldn't have been 2 pm hehe. Yep deja vu indeed smile

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
Thanks, good to know.

C
CyborAccess
CyborAccess
C
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

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
To add support for channel keys to mine just change join %a to join %a $3- smile

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
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

Page 2 of 2 1 2

Link Copied to Clipboard