|name> | Name of a menu item to add/delete/modify or the Nth position to insert at when -i is used. |
| <@popup> | The @popup menu to associate with the menu. |
*Example*
; Setup a custom menu for the 'mymenu' menu.
menu @mymenu {
Hello World:echo -ag Hello world
Menu name:echo -ag Menu name is $menu
}
; Adda a new menu named 'mymenu' with the text 'Top Menu Test'.
/menubar -a mymenu @mymenu Top Menu Test
; Changes the text of the menu named 'mymenu' to 'Top Menu Test2'.
/menubar -t mymenu Top Menu Test2
; Delete the menu named 'mymenu'.
/menubar -d mymenu