# GUMPS DOCUMENTATION

Version 1.5, by Austin Heilman.

## requestgump.inc

requestgump.inc Functions
Constants
The following constants are in gumps_ex.inc
Constants for RequestGump() CONST CANCEL_BTN_OFF := 0x0 CONST CANCEL_BTN_ON := 0x1
RequestGump
Parameters
(mobile, question, option := "", pre_val := "", cancel_btn:=CANCEL_BTN_OFF)
Name | Type
mobile | Mobile to send the gump to.
question | Primary text field, instructing the mobile on what to enter (is word wrapped).
option | Optional text line displayed directly above the input box.
pre_val | Default text to display in the input box.
cancel_btn | CANCEL_BTN_OFF - No cancel button will be shown CANCEL_BTN_ON - A cancel button will be shown
Explanation
Template to create a single field input gump. See the ".requestgump" command for an example.
Return Values
Returns 'error' if the cancel button is clicked. Returns 0 or the text that was entered.