mIRC Homepage

Some questions.

Posted By: LostShadow

Some questions. - 19/09/05 01:53 AM

1.How do you make an input password popup box so whatever you type will be in asterisks instead?

2.How do you set the font of your alias/popup/remotes? Font type and face. Is it then possible to change the background color of your alias/popup/remote and other built-in dialogs?

3.How do you add/edit entries in your toolbar?

4.Can anyone give me the complete list of colors from Ctrl K? Knowing I can /color N ###### and change whatever color to whatever color I want, only up to 16, I want to be able to restore them to default, so I need the numerics.

5.I'm making a list of channels, separated by commas.

Under variables:

%channels #channels,#separated,#by,#commas

I'm trying, for under a remote event:

if (!istok(%channels,$chan,44) {

Mirc doesn't seem to differential whether $chan is one of the channels in %channels separatd by commas.

Thanks.
Posted By: Sigh

Re: Some questions. - 19/09/05 02:16 AM

1. $?*="text" or $input(text,p)

2. mIRC Editor, File -> Font. I believe the background color is set in your Windows display options

3. Some DLL, search on mircscripts.org's DLL section for 'toolbar'

4. From 0-15:

16777215,0,8323072,37632,255,127,10223772,32764,65535,64512,9671424,16776960,16515072,16711935,8355711,13816530

5. if (!$istok(%channels,$chan,44)) {
Posted By: RusselB

Re: Some questions. - 19/09/05 02:32 AM

1) Use set %password $$?*="Password"
This will display the password you enter as ******* and store the actual password that you enter in %password

2) Open your mIRC Scripts Editor, then click File, Font...

3) While I know this can be done, as I've seen scripts that do it, I'm not aware as to how. Sorry.

4) To restore the colours to default you can use this:
Code:
alias color.restore {
if (!$1) {
var %a = 15
while (%a) { color -r %a | dec %a }
else {
var %a = $0
while (%a) { color -r $gettok($1-,%a,32) | dec %a }
}
}
   

Usage: To restore all colors use /color.restore
To restore a specific color use /color.restore <color#>
Multiple colors can be specified

Note this code is untested.

5) You're missing a )
Code:
 if (!$istok(%channels,$chan,44)) {
 


Please note that $chan returns $null if used in a non channel event or an alias
Posted By: xDaeMoN

Re: Some questions. - 19/09/05 06:41 PM

Quote:
2.How do you set the font of your alias/popup/remotes? Font type and face. Is it then possible to change the background color of your alias/popup/remote and other built-in dialogs?


In your mIRC, Go to VIEW -> Colors or do ALT-K to go directly.
© 2022 mIRC Discussion Forums