user-yes-or-no?2.0

user-yes-or-no? value

Reports true or false based on the user's response to value.

value may be of any type, but is typically a string.

if user-yes-or-no? "Set up the model?"
  [ setup ]

See the User Interaction Primitives section of the Programming Guide for additional details.

Take me to the full NetLogo Dictionary