mIRC Home    About    Download    Register    News    Help

Print Thread
channel key #15419 15/03/03 12:55 AM
Joined: Feb 2003
Posts: 20
F
fallen248 Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2003
Posts: 20
Hey, i want to store the current channel key for say #test, to $chankey how would i do this so when the channel key was changed it would update? if this is possible

Re: channel key #15420 15/03/03 12:59 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
$chan($active).key returns the current channel key for the active window.

Re: channel key #15421 15/03/03 01:19 AM
Joined: Feb 2003
Posts: 20
F
fallen248 Offline OP
Ameglian cow
OP Offline
Ameglian cow
F
Joined: Feb 2003
Posts: 20
ok that would work however is there a way to specify chan just incase its not the active window

Re: channel key #15422 15/03/03 01:20 AM
Joined: Dec 2002
Posts: 699
N
Nimue Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
$chan(#chan).key

Or for that matter, $chan(N).key
e.g. $chan(1).key

Last edited by Nimue; 15/03/03 01:23 AM.