LM_Menu:AddItem(label, shortcut, msg)

Version added: before 9.5

Adds a new command to the bottom of the menu

ArgumentTypeDescriptionDefaultVersion added
labelcharthe item's text label - in lua a stringbefore 9.5
shortcutchara shortcut key used to trigger the menu command. note that the c binding (correctly) describes this as type "char" but in lua this is a number in the range 0 to 255before 9.5
msgint32the message value to send when the command is selected by the userbefore 9.5

Return type: none