MenuItem

Format: MenuItem Text, integer,

Example: MenuItem "ON", -2,

Purpose: Adds an Selectable option to a MENU / PopupMenuFrame. The number is always -2 in Blizzards fdfs. The List items are parsed from first line to lowest line.

Integer: Where in the List is the item added. I suspect the menu to work based on a linked List.
-2 End of List
-1 Top Of List.
0+ place the item x after the top or something like that. You need at least one item that uses -1/-2, using 0+ can crash the game. I strongly suggest to use -1 & -2.

Used in: MENU