Change line 21 to SECONDS=0
Between line 21 and line 22 add
WHILE(SECONDS<=0)
INPUT "How long will you record for (in seconds)?";SECONDS
WEND
This will pop up an input field on the screen that will set whatever number is in it to the variable SECONDS. While seconds is less than or equal to 0, keep the prompt up.
1そうだね プレイ済み