I've asked this question on StackOverflow yesterday, made a complete mess of it, and generally wasted people's time due to my lack of understanding of Linux.
Hopefully, I will do a better job now. I tried going about it in many different ways but ended up just confusing the people here on what I actually need.
I need to make a script that will call other sub-menu scripts based on if the user has passed any of the arguments. If the argument is "help", I need to clear the screen and display a short message telling the user how to use the help command. Otherwise, the script is to display the appropriate sub-menu
Further arguments are "File" "Text" "Status" which if used will call an Expert script otherwise it will call a Novice script from the user menu.
I have created a mockup of a total of 6 other script placeholders named fileExpert, fileNovice, textExpert, textNovice, and so on which I would like to execute based on the condition on whether the user has passed some argument.
So far based on my research I get that I would need to set up a condition test like
if $>0 then go into expert or if there are no arguments execute novice
Other than that I'm completely lost.
Hopefully, this does not read like complete BS and that it makes some sense.