From WikiChip
Difference between revisions of "mirc/virtual profile"
< mirc

 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{mirc title|Virtual Profiles}}
 
{{mirc title|Virtual Profiles}}
 
== mIRC Installation ==
 
 
There are multiple type of installations of mIRC that can be done.
 
 
There are two main installation types, the 'old', which is how mIRC used to install in the past, and the 'new', which is how mIRC is now installing.
 
 
=== Old type ===
 
 
Before, and because windows itself wasn't really pushing mutli-user installation of program, mIRC used to place all the files in the same folder you selected. So mirc.ini mirc.exe, the help file, the scripts etc, everything was inside one main folder.
 
 
=== New type ===
 
 
Then, multi-users was added in Windows and quickly, it was designed so that programs would be typically installed to 'Program files', which cannot be written to unless you have admin rights, while the different settings files would be placed in a different folder, which doesn't require admin rights. Not only this is more organized, from the OS's point of view, but it ensures program can run correctly without having to take care of write permissions.
 
 
 
Some people still prefer the old install type with all the files in the same folder, it is possible to get mIRC to do such an installation: if you place a mirc.ini file inside the folder you are installing to, the mIRC installer will do an old type installation.
 
 
'''Note''': The same applies for mirc.exe once installed, if you run mirc.exe inside a folder with a mirc.ini file, it will use that file as mirc.ini and won't store settings in the appropriate location (appdata)
 
  
 
== Virtual Profiles ==
 
== Virtual Profiles ==
Line 24: Line 5:
 
mIRC does not have a built-in way to handle multiple users with different scripts and settings. This article will guide users toward easily creating multiple '''Virtual Profiles''' using a single installation of mIRC. Each of these virtual profiles will have the ability to run their own set of scripts and have their own set of options.
 
mIRC does not have a built-in way to handle multiple users with different scripts and settings. This article will guide users toward easily creating multiple '''Virtual Profiles''' using a single installation of mIRC. Each of these virtual profiles will have the ability to run their own set of scripts and have their own set of options.
  
== Create a shortcut for each profile ==
+
'''Note''': click {{mIRC|mirc installation|here}} for information about how to install mIRC properly
 +
 
 +
=== Create a shortcut for each profile ===
 
The first thing you must do is create a shortcut for each individual profile. It is recommended that you name each shortcut something appropriate so you will know which shortcut is for which profile. To create a shortcut, navigate to the mIRC executable folder using the command below. Right click on the '''mIRC.exe''', go to '''Send to''' and click '''Desktop'''. The standard folder of mIRC.exe is "C:\Program Files (x86)\mIRC" or "C:\Program Files\mIRC".
 
The first thing you must do is create a shortcut for each individual profile. It is recommended that you name each shortcut something appropriate so you will know which shortcut is for which profile. To create a shortcut, navigate to the mIRC executable folder using the command below. Right click on the '''mIRC.exe''', go to '''Send to''' and click '''Desktop'''. The standard folder of mIRC.exe is "C:\Program Files (x86)\mIRC" or "C:\Program Files\mIRC".
 
<source lang="mIRC">//run $nofile($mircexe)</source>
 
<source lang="mIRC">//run $nofile($mircexe)</source>
Line 30: Line 13:
 
[[File:Virtualprofile1.png|Virtual Profile - mIRC]]
 
[[File:Virtualprofile1.png|Virtual Profile - mIRC]]
  
== Create a script folder for each profile ==
+
=== Create a script folder for each profile ===
 
Creating a new folder is necessary for each of the separate profiles. The location of that folder is not very important. For example, a good place would be in the '''My Documents''' folder. The folder will be used to keep the individual mIRC settings as well as all the related scripts.
 
Creating a new folder is necessary for each of the separate profiles. The location of that folder is not very important. For example, a good place would be in the '''My Documents''' folder. The folder will be used to keep the individual mIRC settings as well as all the related scripts.
  
== Instruct mIRC to use the new folders ==
+
=== Instruct mIRC to use the new folders ===
 
Right click on the new shortcut link and go to '''Properties'''. In the '''Shortcut''' tab, replace the text next to '''Target''' with the following:
 
Right click on the new shortcut link and go to '''Properties'''. In the '''Shortcut''' tab, replace the text next to '''Target''' with the following:
 
<pre>"<your\mIRC\exe\path>" -r"<new\folder\path>"</pre>
 
<pre>"<your\mIRC\exe\path>" -r"<new\folder\path>"</pre>
Line 43: Line 26:
  
 
<span style="display: block; margin: 35px;">[[File:Virtualprofile2.png|Virtual Profile2 - mIRC]]</span>
 
<span style="display: block; margin: 35px;">[[File:Virtualprofile2.png|Virtual Profile2 - mIRC]]</span>
 
= Other settings =
 
There are a number of other settings that can be used to manipulate mIRC as well. The following sections outline just a few of them.
 
 
== Connect to a server on startup: ==
 
A connection can be made to a server, immediately upon mIRC starting, using the following syntax:
 
<pre>-s<server:port> [-j#chan1,#chan2,#chan3]</pre>
 
 
For example:
 
<pre>-sirc.undernet.org:6667 -j#mircscripting</pre>
 
 
== Change mIRC.ini location ($mircini) ==
 
Another option is to change the location of the '''mIRC.ini''' (the main mIRC configuration file):
 
<pre>-i<path\to\mirc.ini></pre>
 
 
Switches can be combined as needed.
 
  
 
[[Category:mIRC|virtual profiles]]
 
[[Category:mIRC|virtual profiles]]

Latest revision as of 12:22, 19 June 2019


Virtual Profiles[edit]

mIRC does not have a built-in way to handle multiple users with different scripts and settings. This article will guide users toward easily creating multiple Virtual Profiles using a single installation of mIRC. Each of these virtual profiles will have the ability to run their own set of scripts and have their own set of options.

Note: click here for information about how to install mIRC properly

Create a shortcut for each profile[edit]

The first thing you must do is create a shortcut for each individual profile. It is recommended that you name each shortcut something appropriate so you will know which shortcut is for which profile. To create a shortcut, navigate to the mIRC executable folder using the command below. Right click on the mIRC.exe, go to Send to and click Desktop. The standard folder of mIRC.exe is "C:\Program Files (x86)\mIRC" or "C:\Program Files\mIRC".

//run $nofile($mircexe)

Virtual Profile - mIRC

Create a script folder for each profile[edit]

Creating a new folder is necessary for each of the separate profiles. The location of that folder is not very important. For example, a good place would be in the My Documents folder. The folder will be used to keep the individual mIRC settings as well as all the related scripts.

Instruct mIRC to use the new folders[edit]

Right click on the new shortcut link and go to Properties. In the Shortcut tab, replace the text next to Target with the following:

"<your\mIRC\exe\path>" -r"<new\folder\path>"

This change in paths must reflect the real paths of the end-user. An example of these paths would resemble the following example:

"C:\Program Files (x86)\mIRC\mirc.exe" -r"C:\Users\David\AppData\Roaming\mIRC\bot"

Clicking OK is the final step, and the new Virtual Profile is ready to go. The next time that mIRC is launched using this link, it will open the settings for the new profile.

Virtual Profile2 - mIRC