I have a question, i'm in the middle of programming a scripting and just realized that i need to create a nested if step.
Do you know what's the maximum if's that can be nested? I need to nest 25 ifs on my script
or if you could recommend a better way to do it I'd appreciated it
this is what i need to do pretty much on this step
based on the CalledNumber I need to set a fixed password to a variable. do you know a way to do this besides the nested ifs ?
/* I'm going to assume you know how to read from an XML Document, if not I can help you */
/* create a loop to run through getting lines from the XML file */
xmlString = Get XML Document Data ("/descendant::Passwords/child::Password" + counter)
if(xmlString != null)
stringContainer = xmlString.split(";")
if (stringContainer == )
/* set your password, password will be in stringContainer */
/* do whatever then break the loop */
Goto Loop Start
In your XML document, format it as such (names are irrelevant)
The format is simple: CalledNumber;Password
The script will run through the file testing stringContainer (the called number) against whatever variable you have stored the called number in. If it finds it, the password will be in stringContainer
Let me know of any questions.