local robot = require "robot"
local term = require "term"
term.write("Please enter password: ")
a = term.read()
print(a)
if a == 2 then
print("Meh")
end
So when I run the code it obviously asks for my password, so I might write 2, but then it just prints 2 and doesn't print Meh, it knows the value is 2 but the if then statement won't work.