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