To be compliant with windows it should ideally save settings in a mIRC\<script name subfolder>\ folder in the application data folder.

Personally I always save settings to the script's directory, because I find nothing more annoying than extracting a script to a folder on my desktop but having its config appear in my mIRC directory. The mIRC directory is for mIRC, not for scripts to save their settings.