Posted 29 May 2014 - 05:22 PM
I made this program but when I run it the computer answers "table:" and then an hexadecimal number that changes every time
and before I modified it I had another problem, the program always printed "error" and then rebooted, as it should do if in the first step the response wasn't a 1 or 2 (even if it was)
and before I modified it I had another problem, the program always printed "error" and then rebooted, as it should do if in the first step the response wasn't a 1 or 2 (even if it was)
local yes = 1
local no =2
print("Do you want to install LabyOS ?")
print(
"1=yes",
"2=no"
}
local ans = read()
if ans == yes then
print("do you want a startup launch ?")
print{"1=yes",
"2=no"
}
elseif ans == no then
os.reboot()
else
print("error")
sleep(5)
os.reboot()
end
local ans = read()
if ans == yes then
shell.run("pastebin get eVph1zkH startup")
else
print(please write the program name:") --crying happy smiley lol
local ans = read
shell.run("pastebin get eVph1zkH"..ans)
end