mIRC Home    About    Download    Register    News    Help

Print Thread
#91559 23/07/04 06:17 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Hello there smile

I was wondering, how can I put a check symbol (like this thread's icon) before an item in my menu?

Thanks! smile


"All we are saying is give peace a chance" -- John Lennon
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Edit time was exceeded, so i had to post again. This is what i mean:




"All we are saying is give peace a chance" -- John Lennon
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use the $style identifier, e.g.
Code:
$style(1) moo:echo moo!

Would make an item called "moo" with a check next to it.

From the mIRC helpfile:
Menu Styles

You can place a check mark or create a disabled menu item by using the $style(N) identifier, where N = 1 for checked, N = 2 for disabled, and N = 3 for both. The $style(N) identifier must be the first word in the menu definition.

menu status {
$iif($server == $null,$style(2)) Server Info
.Motd:/motd
.Time:/time
}

The above definition creates a submenu in your status window popup which is only enabled when you are connected to an IRC server.

Joined: Feb 2004
Posts: 714
Z
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Awesome, thanks! laugh


"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard