mIRC Home    About    Download    Register    News    Help

Print Thread
Joining Double-Clicked channels #147484 19/04/06 06:39 AM
Joined: Jun 2003
Posts: 92
K
k1ll3rz Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2003
Posts: 92
is it possible to make a script that if u whois sum1 and try to double-click a channel they r in it will not allow u to?

thanx


k1ll3rz
Re: Joining Double-Clicked channels #147485 19/04/06 08:00 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Don't know why you want this, I mean, if you don't want to join the channel, just don't double click it. However, this is what I came up with, and it worked in my trials
Code:
 alias whois {
  .enable #no.connect.whois
  !.whois $1
}
#no.connect.whois off
raw 319:*:{
  echo -s $remove($1-,$chr(35))
  haltdef
}
raw 318:*:{
  .disable #no.connect.whois
}
#no.connect.whois end
 

Re: Joining Double-Clicked channels #147486 19/04/06 08:06 AM
Joined: Jun 2003
Posts: 92
K
k1ll3rz Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2003
Posts: 92
ok kool thanx


k1ll3rz
Re: Joining Double-Clicked channels #147487 19/04/06 08:22 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
echo -s $remove($1-,$chr(35))


lol I like that, just remove the # so it cant be clicked on!

Re: Joining Double-Clicked channels #147488 19/04/06 10:04 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Seemed like the simplest method to do what was wanted.