Awesome product had hours of fun creating scripts

One thing is the variable's.
What I would like to achieve:
I have a 0 number that I would like to increase by say 10 and the script should input this into a question box and do a lot of other things but I want it to always increase by 10. What I've done so far is it's finding an image on the window screen and the confidence level *normally 90/100 and I'm using that as a base number that I would like to increase by 10 how can I do that? Or is their any other smart way of increasing a value by ten and input it into a textbox?
So now I'm able to read an image output that into a confidence variable and use that variable to set a number. I have seen another post on this forum talking about Line and wanted that to increase +1 and saw the answer use the code and type line++ etc. I'm however not sure where and have tried numerous different ways and it still only use the first variable setting *thats the confidence score.
Any help would be greatly appriciated.
//A

Side note> Is there any more in depth help then the one online? To better explain to me how the actions work and what it expects and possibly any examples for me to better understand?