Help making multiple buttons do a specific set of actions in any order pressed


I have 9 buttons with access to the same script that are all on the scene at once. I want to make pressing the buttons do a predetermined set of actions in the script in any order pressed.
For example, if I have an int, no matter which of the 9 buttons I press, pressing a button will add 1 to the int, then pressing another button will add 2, and the third could subtract 3 and so on. The last button pressed will always display the int and display a new button to reset the whole thing.

Hard to picture what your buttons look like from the description, but if what you are asking is how to identify the different buttons you might try assigning a unique tag to each one. The tag will let you determine what action to take.