A warning: I know there must be an easier way to make this script work. But I'm a newb who has a very hard time wrapping my head around programming and I don't want to destroy my thinking by looking at the answers.
Any who. I'm having a bunch of undeclared variable issues in my script. I'm not sure how to make them "universal" so that it stops being such a nuissance.
Any examples or advice on how to make it work for my script ?
Thanks
I think the image above is the only functional part of my script.
Here's the broken part:
also I realized that the last line should be %i since i'm adding integers. but its too cumbersome a task to recapture that image.