Welcome to PenUltima Online. Click to login or register.

Functions:

SendTextEntryGump( who, line1, cancel := TE_CANCEL_ENABLE, style := TE_STYLE_NORMAL, maximum := 40, line2 := "" )
Parameters:
Name Type
who Character Reference
cancel Integer (TE_CANCEL_DISABLE or TE_CANCEL_ENABLE)
style Integer (TE_STYLE_DISABLE or TE_STYLE_NORMAL or TE_STYLE_NUMERICAL)
maximum Integer
line2 String
Explanation
Sends a text-entry gump to "who" with the specified option, style, and informational string.
Notes: uo.em constants for this function:
const TE_CANCEL_DISABLE := 0;
const TE_CANCEL_ENABLE  := 1;
			
const TE_STYLE_DISABLE  := 0;
const TE_STYLE_NORMAL   := 1;
const TE_STYLE_NUMERICAL:= 2;
Return values
A String on success 0 if gump was cancelled.
Errors
"Invalid parameter"
"No client attached"
Related
Character