Posted 10 January 2015 - 01:53 PM
I'm a bit baffled..
name = "john"
This doesn't work as it should
if (name ~= "john" or name ~= "sam") then
print("Access denied")
else
print("Welcome")
end
Yet this does
if (not name == "john" or not name == "sam") then
print("Access denied")
else
print("Welcome")
end
name = "john"
This doesn't work as it should
if (name ~= "john" or name ~= "sam") then
print("Access denied")
else
print("Welcome")
end
Yet this does
if (not name == "john" or not name == "sam") then
print("Access denied")
else
print("Welcome")
end
Edited on 10 January 2015 - 01:08 PM