m = peripheral.wrap(side) ... size = read() m.setTextScale(size) ... color = read() m.setTextColor(color) ... color2 = read() m.setBackgroundColor(color2) ...This code is the part that is protesting my use of variables. For some reason, they expect numbers, and even when I give my program a number to use, it still messes up. I think the reason is this:
color2 = read()
m.setBackgroundColor(color2) | m.setBackgroundColor("1")
where it is getting quotes. I don't know how I would fix this, unless I specifically input a bunch of options in an if, elseif sequence like this.if color2 == "red" then color2 = colors.red elseif color2 == "blue" then color2 = colors.blueHere is my final code:
http://pastebin.com/ii02ZH2g
Edited by KingofGamesYami, 18 March 2014 - 07:22 PM.












