|
yesno.inc Functions |
|
|
YesNo |
|
| Parameters | |
| (mobile, prompt:="", yes_text:="Yes", no_text:="No") | |
| Name | Type |
| mobile | Mobile to send the gump to. |
| prompt | Primary text field, instructing the mobile on what the choices are about. |
| yes_text | Text to be displayed next to the 'YES' button. |
| no_text | The text to be displayed next to the 'NO' button. |
| Explanation | |
| Template to create a yes / no gump. See the ".yesno" command for an example. | |
| Return Values | |
|
Returns '0' if no is selected. Returns '1' if yes is selected. |
|