Sketch exit status 1 expected '(' before 'unsigned

#define RELAY1 7 // On
#define RELAY2 8 // Off
#include <LiquidCrystal_I2C.h>
#include "DHT.h"
#define DHTPIN 2
#define DHTTYPE DHT22 // Temp
float h = 0, temperature = 0;
LiquidCrystal_I2C lcd = LiquidCrystal_I2C(0x27, 16, 2);
DHT dht(DHTPIN, DHTTYPE);
unsigned long previousMillis = 0; //Counter
const long interval = 1000; //Delay Time

void setup()
{
dht.begin(); // initialize the sensor
lcd.init(); // initialize the lcd
lcd.backlight(); // open the backlight
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);

float humi = dht.readHumidity(); // read humidity
float tempC = dht.readTemperature(true); // read temperature

lcd.clear();
lcd.setCursor(0, 0); // start to print at the first row
lcd.print("Temp: ");
lcd.print(tempC); // print the temperature
lcd.print((char)223); // print ° character
lcd.print("C");

}

void loop()
{

if (temperature >= 24) { // Temp to HOT
digitalWrite(RELAY2, HIGH); // Triger Off Swith // Relay HIGH
digitalWrite(RELAY1, LOW); // Ideal

if
unsigned long currentMillis = millis(); // After a Few Sec move to relay LOW
(currentMillis - previousMillis >= interval
 previousMillis = currentMillis;

 (RELAY2 == HIGH)// Turn Relay to Low
 RELAY2 = LOW;



if (temperature >= 19) { // Temp to Low
digitalWrite(RELAY2, HIGH); // Triger On Switch
  digitalWrite(RELAY1, LOW); Ideal

  if
  unsigned long currentMillis = millis(); // After a Few Sec move to relay LOW
  (currentMillis - previousMillis >= interval
   previousMillis = currentMillis;

   (RELAY1 == HIGH) //Turn Relay to Low
   RELAY1 = LOW;


} else if (temperature < 20 && 23) { // Temp in Midle
digitalWrite(RELAY1, LOW); // Keep LOW
digitalWrite(RELAY2, LOW); // Keep LOW

}
}
Problem:exit status 1
expected '(' before 'unsigned'

It's to replace switch pad on pallet store

Thanks

Read the forum guidelines to see how to properly post code and information on how to get the most from this forum.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

Did you forget something there?

Then a bit later you copied the same thing.

The if structure syntax is shown here.

j see now, thanks