- GetSelSection user_var(output)
Returns the section index of the selected section. - GetPrevSelSection user_var(output)
Returns the previous selected sections's index.
SectionFlags suggestion
These would make it a lot easier to work with sectionflags: