- ComputerCraft | Programmable Computers for Minecraft
- → braydenq6's Content
braydenq6's Content
There have been 13 items by braydenq6 (Search limited from 10-February 22)
#244085 bios. lua:14: [string "gui"]:13: unexpected symbol
Posted by
braydenq6
on 24 January 2016 - 06:24 AM
in
Ask a Pro
I fixed that error now i have
bios :14: [string ".temp"] :57: 'then' expected
--Varibles
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans
_ms = 0
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear()
term.setCursorPos(1, 1)
end
drawMenu1 = function()
term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white)
term.write("[Menu]")
end
drawDeskTop = function() term.setBackgroundColor(colors.orange)
term.clear()
term.setCursorPos(1, 1)
paintutils.drawImage(_dt, 1 ,1)
end
stop = function()
clear()
running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1()
_ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
New code
bios :14: [string ".temp"] :57: 'then' expected
--Varibles
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans
_ms = 0
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear()
term.setCursorPos(1, 1)
end
drawMenu1 = function()
term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white)
term.write("[Menu]")
end
drawDeskTop = function() term.setBackgroundColor(colors.orange)
term.clear()
term.setCursorPos(1, 1)
paintutils.drawImage(_dt, 1 ,1)
end
stop = function()
clear()
running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1()
_ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
New code
#244048 bios. lua:14: [string "gui"]:13: unexpected symbol
Posted by
braydenq6
on 23 January 2016 - 08:38 PM
in
Ask a Pro
--Varibles
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans _ms =
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear()
term.setCursorPos(1, 1)
end
drawMenu1 == function()
term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine() term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white)
term.write("[Menu]")
end
drawDeskTop = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) paintutils.drawImage(_dt, 1 ,1)
end
stop = function() clear() running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1()
_ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
Id fixed some others to it just conpressed it
All ther terms are on the line down
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans _ms =
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear()
term.setCursorPos(1, 1)
end
drawMenu1 == function()
term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function()
term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine() term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white)
term.write("[Menu]")
end
drawDeskTop = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) paintutils.drawImage(_dt, 1 ,1)
end
stop = function() clear() running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1()
_ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
Id fixed some others to it just conpressed it
All ther terms are on the line down
#243973 bios:14: [string ".temp]:6: 'then' expected
Posted by
braydenq6
on 23 January 2016 - 03:38 AM
in
Ask a Pro
Im making a computer craft and projectred
elevator program thats password protected the code is
While true do
term.clear()
term.setCursorPos(1, 1)
print("Enter Password To Start Elevator")
input = read("x")
if input = "666" then
term.clear()
term.setTextColor(colors.lime)
term.setCursorPos(1, 1)
print("Elevator Started, Every Thing Running Properly")
side = "back"
if redstone.testBundledInput(side, colors.lime) == true
then
redstone.setBundledOutput(side, colors.green)
sleep(2)
end
if redstone.testBundledInput(side, colors.red) == true
then
redstone.setBundledOutput(side, colors.pink)
sleep(2)
end
if redstone.testBundledInput(side, colors.black) == true
then
redstone.setBundledOutput(side, 0)
end
sleep(1)
if redstone.testBundledInput(side, colors.grey)
then
print("Restarting System Now")
sleep(5)
end
sleep(1)
end
elevator program thats password protected the code is
While true do
term.clear()
term.setCursorPos(1, 1)
print("Enter Password To Start Elevator")
input = read("x")
if input = "666" then
term.clear()
term.setTextColor(colors.lime)
term.setCursorPos(1, 1)
print("Elevator Started, Every Thing Running Properly")
side = "back"
if redstone.testBundledInput(side, colors.lime) == true
then
redstone.setBundledOutput(side, colors.green)
sleep(2)
end
if redstone.testBundledInput(side, colors.red) == true
then
redstone.setBundledOutput(side, colors.pink)
sleep(2)
end
if redstone.testBundledInput(side, colors.black) == true
then
redstone.setBundledOutput(side, 0)
end
sleep(1)
if redstone.testBundledInput(side, colors.grey)
then
print("Restarting System Now")
sleep(5)
end
sleep(1)
end
#243607 Rackmount computers in ComputerCraft
Posted by
braydenq6
on 19 January 2016 - 05:50 AM
in
Suggestions
Rack mounts are avaliable in opencomputer's
#243603 bios. lua:14: [string "gui"]:13: unexpected symbol
Posted by
braydenq6
on 19 January 2016 - 05:33 AM
in
Ask a Pro
--Varibles
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans _ms =
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) end
drawMenu1 == function() term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function() term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine() term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white) term.write("[Menu]") end
drawDeskTop = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) paintutils.drawImage(_dt, 1 ,1) end
stop = function() clear() running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y =os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1() _ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
version = 3.0 running = true
--Images
_dt = paintutils.loadImage("/os/.backgrounds/dt")
--Booleans _ms =
--Functions
clear = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) end
drawMenu1 == function() term.setCursorPos(1, 2) term.setBackgroundColor(colors.white) term.setTextColor(colors.red) print("[power]")
while true do
end
drawTaskBar = function() term.setCursorPos(1, 1) term.setBackgroundColor(colors.red) term.clearLine() term.setCursorPos(1, 1) term.setBackgroundColor(colors.lime) term.setTextColor(colors.white) term.write("[Menu]") end
drawDeskTop = function() term.setBackgroundColor(colors.orange) term.clear() term.setCursorPos(1, 1) paintutils.drawImage(_dt, 1 ,1) end
stop = function() clear() running = false
term.setTextColor(colors.lime print("Thanks for using BZGamingOS")
end
runTime = function()
while running do event, button, x, y =os.pullEvent("mouse_click")
if _ms == 0 button == 1 and x < 7 and y == 1 then drawMenu1() _ms = 1 elseif _ms == 1 and button == 1 and y == 2 and x < 7 then stop()
elseif _ms == 1 and button == 1 and x < 7 and y == 1 then
init()
end
end
end
init = function()
_ms = 0 drawDeskTop()
drawTaskBar()
runTime()
end
--Main Stuff
init()
- ComputerCraft | Programmable Computers for Minecraft
- → braydenq6's Content


