Jump to content

Recommended Posts

Posted

I am trying to compare two variables and I am having no such luck

If $MS1 = >$MS2 Then
      MouseClick("left" , 1008, 95)
      sleep (250)
      MouseClick("left" , 1008, 95)
      sleep (250)
      MouseClick("left" , 892, 379)
   ElseIf $MS1 = <$MS2 Then
      MouseClick("left" , 1008, 95)
      sleep(250)
      MouseClick("left" , 1008, 95)
      sleep (250)
      MouseClick("left" , 892, 450)
   EndIf

This is my string and both variables have been declared

I have attached my error message in the thread if it helps my case at all.

Thanks in advance.

Error message.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...