Not sure if this is of great help, but there is a system function to query the user from the script:
This function can be used in the script only and opens an input box that prompts the user for a value during the script execution. The parameters cue and caption are used as message and caption texts, respectively. The function returns the entered value.
The input box function returns NULL if the dialog is cancelled, closed or cannot be shown.
Input('Enter value', 'Input box') as v,
Recno () as r