lua not equal to nil code example Example: lua not equal local state = false if state ~= true then print("No") else print("Yes") end