Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Live Services SDK
Matching
Dialogs
 Insist Statement
Windows Live
Insist Statement

By default, if a user enters a dialog and answers "outside the dialog", the dialog routine is canceled. When placed immediately after a dialog, the insist command forces BuddyScript to execute the block after it if the user did not answer "within the dialog".

Usage:

 insist
   action

Parameters:

action

The portion of script to be executed upon matching outside the dialog.

Example:

 ...
   - Type "a" or "b" and nothing else!
   + a
     - You typed "a"
   + b
     - You typed "b"
   insist
     - You can't read!
   - Thanks to "insist", this line will always be executed.
 ...

If the user answers anything else than "a" or "b", the script would display "You can't read!". Whatever the user typed, the rest of the script would then be executed.

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker