Scrip and transaction

I have a scrip which is supposed to run on a transaction.

Does creating a ticket count as a transaction and therefore the scrip will
get executed?

Also, if in the scrip I am changing some ticket values, do they also count
as transactions and therefore the scrip will execute as well ?

Roman

I have a scrip which is supposed to run on a transaction.

Does creating a ticket count as a transaction and therefore the scrip will
get executed?

Creating a ticket results in a “Create” transaction.

Also, if in the scrip I am changing some ticket values, do they also count
as transactions and therefore the scrip will execute as well ?

Yes.