mIRC Homepage
Posted By: LO_KEY Channel Central - 09/12/04 06:04 PM
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
Posted By: Online Re: Channel Central - 09/12/04 08:26 PM
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.
Posted By: LO_KEY Re: Channel Central - 09/12/04 10:05 PM
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
Posted By: Online Re: Channel Central - 09/12/04 11:24 PM
#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.
© mIRC Discussion Forums