Posted 11 November 2015 - 04:36 AM
                Hello i am making a new feature for my os and i'm stuck on it. HELP PLS.
Here's the part i'm stuck on
                
            Here's the part i'm stuck on
local function fscontrol()
print("--------------------------------------------------")
print("|[1]Previous Menu								|")
print("|[2]Make Folder								  |")
print("|[3]Delete Folder(NYI)						   |")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("--------------------------------------------------")
fsinput = io.read()
if fsinput == "1" then
drawMainMenu()
end
local function drawMainMenu()
term.clear()
term.setCursorPos(1,1)
print("--------------------------------------------------")
print("|[1]Shutdown									 |")
print("|[2]Reboot									   |")
print("|[3]N Paint Pro (by: nitrogenfingers)			|")
print("|[4]Lua Ide (by: GravityScore)				   |")
print("|[5]FS Control								   |")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("|												|")
print("--------------------------------------------------")
inputread = io.read()
if inputread == "1" then
os.shutdown()
elseif inputread == "2" then
os.reboot()
elseif inputread == "3" then
shell.run("progs/npaint")
elseif inputread == "4" then
shell.run("progs/luaide")
elseif inputread == "5" then
fscontrol()
end
end
 
         
                