getPrompt
The getPrompt method gets the text part of a prompt from a LuaUserPrompt object. A LuaUserPrompt object is a prompt string, with optional metadata, to return to the user.
Syntax
getPrompt()
Returns
(string) The prompt text.
Example
local text = LuaUserPrompt:getPrompt()