Posted 20 December 2013 - 08:50 PM
I have this simple installation code but it just dosen't work I have it on Pastebin.
http://pastebin.com/WYyPW4FP
Just in case, I will place the code below here:
——————————————————————————
print 'BOOT INSTALLER VERSION 0.0.1 Alpha'
print ' '
print 'Trademark AbCraft. NET Studios 2013'
print ' '
print 'Please choose a software version you would like to install.'
print ' '
print '1: V0.1 Alpha'
local input = read()
if input = '1' then
local PasteBinCode = 'FEdJpcsu'
end
print 'INSTALLING SOFTWARE'
shell.run('pastebin','get',PasteBinCode,'startup')
print ''
print 'Installation complete. If there are any errors, please make sure enableAPI_http = 1 or true.'
reboot
——————————————————————————
It gives me an error. This error is:
bios:337: [string "install"]:9: 'then' expected
I have changed the color of the error into red.
http://pastebin.com/WYyPW4FP
Just in case, I will place the code below here:
——————————————————————————
print 'BOOT INSTALLER VERSION 0.0.1 Alpha'
print ' '
print 'Trademark AbCraft. NET Studios 2013'
print ' '
print 'Please choose a software version you would like to install.'
print ' '
print '1: V0.1 Alpha'
local input = read()
if input = '1' then
local PasteBinCode = 'FEdJpcsu'
end
print 'INSTALLING SOFTWARE'
shell.run('pastebin','get',PasteBinCode,'startup')
print ''
print 'Installation complete. If there are any errors, please make sure enableAPI_http = 1 or true.'
reboot
——————————————————————————
It gives me an error. This error is:
bios:337: [string "install"]:9: 'then' expected
I have changed the color of the error into red.