mIRC Home    About    Download    Register    News    Help

Print Thread
#26537 27/05/03 11:46 PM
Joined: Apr 2003
Posts: 6
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Apr 2003
Posts: 6

confused confused confused confusedOk, I am in the midst of making it so that my mIRC can accept custom profiles, each one with load, unload, User Name, Switch, and Special exit properties. Not to mention each has their own popups, remotes, variables, and access levels. As far as color settings, forget about it I'm not that good.

Ok my problem is this script warning box that comes up.
I realize it's because my scripts use the
on *:START
code (I don't know how to use INI files yet)
to do certain things with my custom profiles.
It says.
"One or more scripts have been loaded that include initialization commands.

Run the initialization commands?

You should click 'no' if you don't know what this script does."

I was hoping either someone can tell me a way to get rid of it, or teach me how to do things with INI files. Either way, any help is greatly appreciated, and I do realize that INI file usage is no easy task. hell took me 6 hours to get the piece of crap profiles things to do what I wanted them to. but I get errors. I'll fix it.
Thanks again for any help. confused

#26538 27/05/03 11:49 PM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
Press ALT+R > Options > Initialisation Warning

Click it, and it wills stop asking if you want to load a script.


However, that is a mIRC by mIRC method of doing it.

I have no idea how to do it with a script, and I highly doubt it is possible.


--------
mIRC - fun for all the family (except grandma and grandpa)
#26539 27/05/03 11:51 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
it is possible, though it requires finding the correct token in the mirc.ini file amoungst all the options, and changing it >:\


-KingTomato
#26540 28/05/03 01:28 PM
Joined: Dec 2002
Posts: 271
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
//echo -a $readini(mirc.ini,options,n5)

[on]
1,1,1,1,1,1,1,1,1,1,6667,0,0,2,0,1,1,0,500,100,20,5,1,26,0,0,1,8192,1,0,0,82,0

[off]
1,1,1,1,1,1,1,1,1,1,6667,0,0,2,0,1,1,0,500,100,20,5,1,26,0,0,0,8192,1,0,0,82,0


its the 27th comma delimited token, and i'm pretty sure its always n5, but i could be wrong(anything's possible :P)

#26541 28/05/03 01:34 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922


Link Copied to Clipboard