Is there a technical reason that prevents you from changing the order of your scripts? Script order is the only sensible fallback for conflicting positions and that's already how the menu order is decided anyway.
Yes, there is at least one reason for this, which is described in another topic
#Post268763. If in your list accumulates enough a lot of scripts (and this usually happens with regular creation scripting) then it becomes problematic to search and change the position of scripts every time in order to change the position of items in the created menus. It would be much easier to be able to change this in a newly created script where there is a new menu item.
However, consider the case where you have two menus, the first one asking for position 1 but has 3 items, and the second menu asks for position 2, should the second menu items be added at position 2, *breaking* in half the previous menu? Should it generate an error?
In theory, this should not cause error or confusion in the ordering of menu items. In my opinion, it will be logical that the first menu will take the position of items from "
1-3", but if the second menu is created (edit) later in time than the first, then its items should be embedded in position "
2". All other elements go down below inline elements. (But probably it is possible in other ways to determine the rights of priority).
For example, we have different menus created at different times in two different scripts.
Created in 19:35 - 25/04/2021
menu:1 channel {
New item 1: Command
New item 2: Command
New item 3: Command
}
Created in 14:18 - 27/04/2021
menu:2 channel {
New item 4: Command
New item 5: Command
-
}
Then the menu might look like this:
![[Linked Image from i.ibb.co]](https://i.ibb.co/KWsjt4L/New-item.jpg)
I think that when creating new menus, the autor will be guided preview at the already existing menu, in order to understand exactly where he needs to place the new menu items.
Anyway, I would like to try this in the new beta version to experience and see how it works on practice. Thanks for your questions and interesting comments (for to further thinking reflection).