mIRC Home    About    Download    Register    News    Help

Print Thread
#85879 07/06/04 10:01 PM
Joined: May 2004
Posts: 49
G
GalaxeY Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: May 2004
Posts: 49
is there a command that adds channels to the favorites?


Signature:
I'm boring, ain't I? Oh well...:|
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
See this similar thread

hope it helps

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
In addition, if you wanted to add to the channels folder list that you currently have without changing what is set by default with mIRC, I think you'd have to use the /writeini command. The favourites list is stored in the [chanfolder] section of the mirc.ini file. Use //run mirc.ini and use CTRL+F to find the appropriate section. Note that by default the last channel should be n84.

As a quick example, if you wanted to add #Test with description "This is a test channel" and no other settings, you might do //writeini $mircini chanfolder n $+ $ini($mircini,chanfolder,0) #test,"This is a test channel" - This should add it to the appropriate section. For further info, see /help /writeini.

I think Merlin's mirc.ini help file is a great one to use for things such as this as it helps you determine where things are in the mirc.ini file and the format in which they are written. The latest version is for 6.12. It can be downloaded here.

Edit: changed /write command to what Iori displayed below, avoids confusion!

Regards,

Last edited by Mentality; 07/06/04 10:42 PM.

Mentality/Chris
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Best to use $mircini, and $ini() can find the proper entry number smile
//writeini $mircini chanfolder n $+ $ini($mircini,chanfolder,0) #test,description


Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
grin I was suspecting (and hoping) you would come up with something better!

Regards,


Mentality/Chris

Link Copied to Clipboard