Blynk and OWI Robot Arm

Hey Guys!
Im trying to make a robot arm using the OWI are and Blynk. I'm using the original Adafruit motor shield to accomplish this. I have everthing hooked up as it should be, but im having trouble writing the code. Can anyone please help.
Thanks

#define BLYNK_PRINT Serial


#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <AFMotor.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "bbee74d16c0b40c880e2b6e412cd8549";


BLYNK_WRITE(V1)


{
  AF_DCMotor motor(1);
}

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth);

}

void loop()
{
  if BLYNK_WRITE(V1) = 1;
    motor.run(FORWARD);
    else motor.run(RELEASE);
  Blynk.run();
}
  if BLYNK_WRITE(V1) = 1;

Does that look anything like the example on the reference page for the if statement?

The BLYNK_WRITE() function MUST have a return type.

Depending on what return type you assign, and whether or not you add a return statement to the function to return something of that type, trying to compare that something to 1 may, or may not, make any sense. If it does, the comparison operator is ==, not =.

And 'if' always requires parantheses around the condition expression.