mIRC Home    About    Download    Register    News    Help

Print Thread
#225110 25/08/10 11:44 PM
Joined: Aug 2010
Posts: 8
X
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Aug 2010
Posts: 8
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


irc.swiftirc.net #mSL,#xmrfunny1x
Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,421
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,421
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,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard