Your script that opens the custom dialog box could be something like this:
Show Custom Dialog [ "Disclaimer"; "This is the disclaimer text..." ]
If [ Get(LastMessageChoice)=2 ]
Close File [ Current File ]
This assumes your 'Show Custom Dialog' options are set up like this:
However, you might find the amount of space for the disclaimer text in the dialog box message is too small, so another method would be simply to have the file open on a layout that displays the text and then have a couple of buttons on that layout - the Agree one would go to another layout so the user can carry on, and a 'Disagree' button that would simply close the file.... See sample file attached.
sample-disclaimer.fmp12.zip 66.6 K
Thank for the answer and Idea.