mIRC Home    About    Download    Register    News    Help

Print Thread
#225110 25/08/10 11:44 PM
X
xmrfunny1x
xmrfunny1x
X
This will cause mIRC to restart without taking into consideration the location of the mIRC.ini that was used during its original launch. It appears to be launched from C:\Users\You\AppData\Roaming\mIRC
Code:
/exit -r

#225119 26/08/10 02:38 AM
Joined: Jul 2006
Posts: 4,062
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,062


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
#225147 26/08/10 02:23 PM
Joined: Dec 2002
Posts: 3,923
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,923
Looking at this again, it probably would make sense for mIRC to use some of the original command line when "/exit -r" is used. If a scripter wants to have more control the /run command can always be used. Unless someone sees a major issue with this, I will make the next version use the -i -r -noreg and -portable switches from the original command line when "/exit -r" is used.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
That would probably be fine, but just to throw in another option, you could also consider adding the ability to put those command line switches into /exit ... the only issue there is that -r is a command line switch and also an /exit switch.


Link Copied to Clipboard