I want to write a script that launches another script based on a set variable.
I wrote a long script with nested if statements: If $name = name perform this script, but I would prefer a more elegant approach: Perform Script = $variable. This will allow me to add infinite script option with a single line.
If you want to know more about why I will be happy to share. So far it is working great, my clients love it, but they keep adding more options and the nested script if becoming a pain to maintain.