mIRC Homepage
Posted By: VinceNad Script Warning Thingy - 27/05/03 11:46 PM

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
Posted By: neophyte Re: Script Warning Thingy - 27/05/03 11:49 PM
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.
Posted By: KingTomato Re: Script Warning Thingy - 27/05/03 11:51 PM
it is possible, though it requires finding the correct token in the mirc.ini file amoungst all the options, and changing it >:\
Posted By: NightChillz Re: Script Warning Thingy - 28/05/03 01:28 PM
//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)
Posted By: Online Re: Script Warning Thingy - 28/05/03 01:34 PM
You're right.
© mIRC Discussion Forums