mojox.RequestOkay - nitrologic/monkey2 GitHub Wiki

mojox::mojox.RequestOkay

Function RequestOkay:monkey:monkey.types.Bool( message:monkey:monkey.types.String="Are you sure you want to do this?",title:monkey:monkey.types.String="Okay?",yesButton:monkey:monkey.types.String="Okay",noButton:monkey:monkey.types.String="Cancel" )

Runs a simple 'okay/cancel' dialog.

Returns true if the user selects 'Okay', else false.

This function must not be called from the main fiber.