Thanks a lot! Yes, everything works as it should. Now I have almost completely understood the use of scripts.
And there remains one more not completely clear point.
What is a CONTEXT object? Is there a help page for CONTEXT.? What other methods can you use with it?
Now I'm solving another problem,
How to execute a script at a precisely specified time from the current moment? How can I cancel its launch during the waiting time?
Are there any other ways to change the value of points after a given time?