mIRC Home    About    Download    Register    News    Help

Print Thread
#68933 22/01/04 06:47 PM
Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
Ok, Im making a Popup to set/remove channel key.

Channel Key
.Set (+k):/mode # +k $$?="Enter the channel key:"
.Remove (-k):/mode # -k

But with the remove...it requires you to do it in this format
/mode #channel -k currentkey
So I need an identifier or something of the sort to get the current mode on a channel that I am in.

#68934 22/01/04 06:48 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
mode # -k $chan(#).key

or you can try ..

mode # -k *

#68935 22/01/04 10:09 PM
Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
Quote:
mode # -k $chan(#).key


that worked...thanks a lot

#68936 23/01/04 01:21 AM
Joined: Nov 2003
Posts: 7
R
R3D Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2003
Posts: 7
on DalNet when Chanserv removes a key it uses /mode $chan -k ???

Ops on the channel can also use this to remove a key without typing it

Note: you can use "/mode # -k ?" but we all want to be like ChanServ don't we wink


Link Copied to Clipboard