Posted 10 May 2013 - 11:44 PM
theres 4 monitors surrounding the player flashing differen't colors, but I can't get it to work right…
I codeded this
On the terminal, so I copied and pasted the second colors and changed the colors around to make this:
http://pastebin.com/gvEVChV9
but when i retrieve that from pastebin i get error:36:expected number.
I can't figure out where I wen't wrong, can anyone help me?
I codeded this
local mon = peripheral.wrap("monitor_4")
local mon2 = peripheral.wrap("monitor_5")
local mon3 = peripheral.wrap("monitor_6")
local mon4 = peripheral.wrap("monitor_7")
mon.setBackgroundColor(colors.red)
mon2.setBackgroundColor(colors.yellow)
mon3.setBackgroundColor(colors.green)
mon4.setBackgroundColor(colors.cyan)
mon.setTextColor(colors.blue)
mon2.setTextColor(colors.red)
mon3.setTextColor(colors.black)
mon4.setTextColor(colors.gray)
mon.setCursorPos(1,1)
mon2.setCursorPos(1,1)
mon3.setCursorPos(1,1)
mon4.setCursorPos(1,1)
mon.clear()
mon2.clear()
mon3.clear()
mon4.clear()
mon.write("Teleporting...")
mon2.write("Teleporting...")
mon3.write("Teleporting...")
mon4.write("Teleporting...")
os.sleep(1)
mon.setBackgroundColor(colors.lime)
mon2.setBackgroundColor(colors.lightblue)
mon3.setBackgroundColor(colors.pink)
mon4.setBackgroundColor(colors.orange)
mon.setTextColor(colors.blue)
mon2.setTextColor(colors.black)
mon3.setTextColor(colors.gray)
mon4.setTextColor(colors.green)
mon.setCursorPos(1,1)
mon2.setCursorPos(1,1)
mon3.setCursorPos(1,1)
mon4.setCursorPos(1,1)
mon.clear()
mon2.clear()
mon3.clear()
mon4.clear()
mon.write("Teleporting...")
mon2.write("Teleporting...")
mon3.write("Teleporting...")
mon4.write("Teleporting...")
On the terminal, so I copied and pasted the second colors and changed the colors around to make this:
http://pastebin.com/gvEVChV9
but when i retrieve that from pastebin i get error:36:expected number.
I can't figure out where I wen't wrong, can anyone help me?