|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
somone that know if you can add a submenu to "item" in a dialog? and if you know, how? cant find it in the help file..
item break, 60, 49
item "Effect op/voice", 61, 49
item "Enable", 62, 49 <<-- submenu to ID 61
item "Disable", 63, 49 <<-- submenu to ID 61
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
menu "text", menuid [, menuid] item "text", id [, menuid] item break, id [, menuid]
New username: hixxy
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
that wont make a submenu.. it will only creat a new menu below the existing one "with a break first" [edit] i want it to look like a popup..
Menu .Submenu .Submenu2
Last edited by sparta; 28/01/04 02:31 PM.
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
New username: hixxy
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
thats the only way? :tongue: no identifyer you can use that are in mirc allready? :tongue:
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
New username: hixxy
|
|
|
|
Joined: Feb 2003
Posts: 3,432
Hoopy frood
|
OP
Hoopy frood
Joined: Feb 2003
Posts: 3,432 |
what a waste i wont load another DLL just for 2 small menus.. maybe somthing for the next version of mirc [edit] i found a way to do this without a DLL.. just me that didnt think befor asking here
menu "Effect op/voice", [color:red]61[/color], 49
item "Enable", 62, [color:red]61[/color]
item "Disable", 63, [color:red]61[/color]
you just change the last number to the same number as the one abow.. "the menu", didnt knwo that worked.. and i guess many with me dont know it so thats why i explained it here
Last edited by sparta; 28/01/04 02:48 PM.
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
dialog x {
size -1 -1 400 100
menu "Menu" , [color:blue]1[/color]
item "Menu item" , 2, [color:blue]1[/color]
menu "Submenu" , [color:red]3[/color], [color:blue]1[/color]
item "Submenu item" , 4, [color:red]3[/color]
item "Menu item 2" , 5, [color:blue]1[/color]
}
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
i should of thought of that;\
New username: hixxy
|
|
|
|
|