Jump to content

Mirc Accurate File Location


Guest Travis

Recommended Posts

basically, when you release scripts (if you don't want to include mIRC exe), release it all with the mIRC ini in the location mIRC would be.

 

Or people could just use $scriptdir in most cases so that the whole issue is made irrelevant.

Link to comment
Share on other sites

Ok so? Nothing is wrong. Use $mircexe, use $scriptdir, make sure mirc.ini is in your mirc folder and use neither!

 

Using $scriptdir doesn't make it irrelevant. It's just another way of handling the issue of file paths in versions 6.2+. I like to use $mircexe if I have to because that is ONE SOLID LOCATION. $scriptdir refers to the path of the currently executing script. I don't know about you but I have scripts in the main folder and some in subdirectories. I wanted a path that pointed to the ROOT folder always. This is why I chose $mircexe.

 

In all actuality I personally just make sure mirc.ini is in my main folder and I have no issues. The code was to help others out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...