Another dialog window that is available to you, as a scripter, is the GetNumber where, you guessed it, you ask for a number. You can use that in many different commands.
(sorry for my pronunciation of the word Integer; I figured it out after the video was recorded!)
If this video is causing you issues, here is a copy on YouTube: https://youtu.be/sApXsYx7jg0 (please, do not share)
What kind of commands do you think would use the value from the GetCommand? Can you try to use it yourself?
The forum thread is here.