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