mIRC Home    About    Download    Register    News    Help

Print Thread
Channel Central #104885 09/12/04 06:04 PM
Joined: Feb 2003
Posts: 83
L
LO_KEY Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Feb 2003
Posts: 83
Im amking an advanced Channel Central..

Ive ran into 4 probs

1) when saving topic, it wont write the color/bold codes to ini file...

here is the writeini line..
Code:
 
    writeini cc.ini $chan 1 $1-
 


2) Getting the Linked Channel when +L is set

L <chan2> = If +l is full, the next user will auto-join <chan2>

my prob is $chan(#channel).mode doesnt give linked channel, any idea's ?

3) & 4) The Except And Invite List's

I don't know how to list them, any help on my probs would be greatly appreciated

thx in advance


any help would make me happy
Re: Channel Central #104886 09/12/04 08:26 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
1. Standard INI files can't store control codes. See this page for an alternative.

3 & 4. You can see for yourself how mIRC requests those lists from the server. Type /debug @raws to open a window where the communication between mIRC and the server will be displayed.

Re: Channel Central #104887 09/12/04 10:05 PM
Joined: Feb 2003
Posts: 83
L
LO_KEY Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Feb 2003
Posts: 83
ah yes,

1) fixed...

writeini cc.ini $chan 1 $replace($1-,,&b,,&u,,&r,,&k)

jus needed to use the $replace as in the snippet u showed...

3) & 4) fixxed

-> *** MODE #chat +e
<- :*** 349 ^-Stats-^ #chat :End of Channel Exception List
-> *** MODE #chat +I
<- :*** 347 ^-Stats-^ #chat :End of Channel Invite List


thx laugh

now for #2 hmmmmmmmmmmmmmmmmmmmm

Re: Channel Central #104888 09/12/04 11:24 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
#2 would make a nice feature suggestion. I'm not aware of any easy way (i.e. an internal identifier) to retrieve values associated with nonstandard modes.

In the meantime you may want to check the "On Rawmode" event, that triggers whenever an operator changes the channel modes, and the numeric 324 which is sent to you by the server as soon as you join any channel, and contains its current modes.