December 13, 20196 yr Hi Guys, I'm looking for some help with what you script writers use for tasks that are quite complex. Coming from *****, they have a tree type concept where you have a true or false and can go off onto another "branch", similar to the picture below. Starting at a point: you can start the script, have it then follow down the tree structure. Has anyone else done something similar in OSBot? I don't feel like case statements would be the right thing to do.
December 13, 20196 yr So you want this to implement randomness or just to achieve something to be executed by going through if statements tree?
December 13, 20196 yr Deeply nested if statements are a sign of bad programming styles. nevertheless, people do it. A function should only represent one purpose.
Create an account or sign in to comment