Posted 21 June 2016 - 10:16 PM
Im trying to make a simple notifier system for my base. at the moment i just get a redstone input on the bottom and then send the message to a 2x3 monitor. but when i try to change the text scales from 1 everywhere to certain numbers it wont type the string "message"
when i execute this it will not write this: http://imgur.com/PbILpI0
local Monitor = peripheral.wrap("monitor_0")
term.clear()
term.setCursorPos(1,1)
term.write("starting \"alert\"")
function writeLine(string)
Monitor.write(string)
x,y = Monitor.getCursorPos()
Monitor.setCursorPos(1,y + 1)
end
if redstone.getInput("bottom") == true then
Monitor.clear()
Monitor.setCursorPos(1,1)
Monitor.setTextColor(colors.yellow)
Monitor.setTextScale(1.5)
writeLine("Messages:")
Monitor.setTextColor(colors.white)
Monitor.setTextScale(1)
writeLine("second line?")
end
sleep(2)
when i execute this it will not write this: http://imgur.com/PbILpI0