mIRC Home    About    Download    Register    News    Help

Topic Options
#211803 - 01/05/09 11:25 AM channel central
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
I working on a channel central, and i looking for ideas, how would you display custom modes. in a separate dialog, or in the same dialog as the other modes? if in the same dialog, any idea on how make it look good? the problem as i see it is that i need to be able to get the information for the modes that are available for the server i connect to, and since some networks don't support more then the default modes (tnimklps) it would look strange if you have check boxes for 20 more modes in the dialog. The value i working with is stored in a %variable, and in the format

%variable owghraAORTVSxNCWqBzvdHG


Edited by sparta (01/05/09 11:36 AM)
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top
#211804 - 01/05/09 04:42 PM Re: channel central [Re: sparta]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
Why not go with a list box that uses the check option?

As to which modes are supported, I believe, but am unable to confirm at the moment, raw 005 contains this, and much more, information.

P.S.: This really should've been put in the Scripts & Pop-Ups section.

Top
#211811 - 01/05/09 09:18 PM Re: channel central [Re: RusselB]
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
Since i don't ask for help to make the dialog i posted it here smile it's more like a general question wink and yes, i was thinking of the list box that uses the check option, but im not shure on how make them, but i guess i figure it out.. smile
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top
#211815 - 01/05/09 10:20 PM Re: channel central [Re: sparta]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
This is still a script related question. Variables have nothing to do with an IRC client "in general".
_________________________
- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Top
#211824 - 02/05/09 02:05 AM Re: channel central [Re: sparta]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
In your dialog setup, remember the check option for the listbox.
Then fill the listbox like you normally would, possibly using /did -a
Note that you will need a bigger listbox when using the check option than if you weren't, as the lines in the listbox become the height of the checkbox. I have a script where I was trying to use both checked and unchecked lists with the two corresponding, but the alignment of the text went off fairly quickly (definetely noticable after about 5 items).

Remember that the check option for the listbox only allows for two states as opposed to the checkbox which can be set as a 3state item.

Top