how do you see if the number is different then your number. lets say i was making a password screen. so

Password1 = 2

but then lets say i want to have an invalid password screen

Code:
if Password1 ~= 2 then
background = Image.load("invalidpass.png")
elseif Password1==2 then
dofile("level1.lua")
end

So what symbol would i need for the first line? I know i can do <> but that takes too many variables for a 7 digit Password. can you help me out?


Too lazy to post so I just edited your code. ~= means not equal to, and works like ==.