I'm confused as to the order regarding which script is run. For examples sake: say I want to spend 1 Bitcoin which was given to me by Alice in a single transaction of value 1 Bitcoin. I understand that the input to me is 1 Bitcoin and the output is 1 Bitcoin, but I am not sure about the which script runs first when i want to 'claim' this transaction
Edit: after reading the other question, I'm not sure if this is a chicken and egg kind of question. its a cycle where one runs after the other...