SuicidalSTDz/EnderAPI — pull request #33 by KingofGamesYami (2014-04-05 04:53:05+00:00)
Title: Create prompt.lua

My prompt api, I have considered pretty much anything I could think of. You use it like this:
local variable = api.prompt("Name") --will return whatever they enter
local variable = api.prompt("Scroll", "op1", "op2") --returns if they want op1 or op2, can be expanded indefinately.
local variable = api.prompt("number") --returns a number
local variable = api.prompt("number", 1, 4) --returns a number between 1 and 4
local variable = api.prompt("color") --returns a color in hex-decimile (2 is orange, 4 is magenta)