Posted 16 January 2013 - 10:29 AM
ok guys i dont now how to do this but it sound pretty simple i want to use the function read to allow the user to put in a command or something so here's the thing i want them to be able to use the computer normaly but if they type home it does whatever
MY CODE NOW
——-
print("what would u like to do")
input = read() – here is the problem i want them to be able to type what they want like run a program or open a disk or whatever but if they type home do this
if input == "home" then
shell.run("clear")
end
MY CODE NOW
——-
print("what would u like to do")
input = read() – here is the problem i want them to be able to type what they want like run a program or open a disk or whatever but if they type home do this
if input == "home" then
shell.run("clear")
end