mIRC Home    About    Download    Register    News    Help

Print Thread
Some questions. #130510 19/09/05 01:53 AM
Joined: Jan 2004
Posts: 509
L
LostShadow Offline OP
Fjord artisan
OP Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
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.

Re: Some questions. #130511 19/09/05 02:16 AM
Joined: Aug 2003
Posts: 314
S
Sigh Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
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)) {

Re: Some questions. #130512 19/09/05 02:32 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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

Re: Some questions. #130513 19/09/05 06:41 PM
Joined: Mar 2005
Posts: 420
X
xDaeMoN Offline
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
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.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!