Hmm, interesting. If I make a new code:
local robot = require "robot"
local term = require "term"
term.write("Please enter password: ")
a = term.read()
print(a)
b = a+1
print(b)
if b == 2 then
print("Meh")
end
This works, if I write 1 it says meh
So as you can see in the picture in my original post there's an extra line where it didnt write anything. It must have something to do with that. Because when do a+1 it does not do that extra empty line.
But I still need help, because I want to do this with letters instead, and there I can't just do +1.
local rob