mIRC Home    About    Download    Register    News    Help

Print Thread
#243067 12/10/13 05:40 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

I can't file what /tray -i is doing i open the file and the -i paramater is not exist:

File:

/tray -iNmNsNtNaN <filename>

This command changes the mIRC Tray icon to the Nth icon in the specified file (which might be an .exe, .dll, or .ico).

The -msta switches enable or disable the tray settings in the Options dialog, where N is 0 or 1.

Note: The animate icon option cannot work if you have selected a custom icon.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
-iN specifies the index number for the Nth icon in the file.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Thanks Wims but i can't find it on the help file.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
Because the help file usually gives you the syntax, a little description but that's it, here it's implied because the others switches are used to change the tray settings, there is no optional parameter to specify the index number, therefore it must be -i, you'll also notice that the switch letter used usually is meaningful, -i for index


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard