title: Autohotkey if statement not working, no error msg
body: <p>I'm trying to use autohotkey to gather a chuck of data from a website and then click a certain spot on the website depending on what the text is. I'm able to get it to actually pick up the value but when it comes to the if statement it won't seem to process and yields no error message. Here is a quick sample of my code, there is about 20 if statement values so for brevity sake I've only included a few of the values. </p>
  
  <pre><code>GuessesLeft = 20
  Errorcount = 0
  ;triple click and copy text making a variable out of the clipboard
  ;while (GuessesLeft!=0) part of future while loop
  ;{ part of future while loop
  click 927,349
  click 927,349
  click 927,349
  
  Send ^c
  
  GetValue = %Clipboard%
  
  if ( GetValue = "Frontal boss")
  {
      click 955,485
      Guessesleft -= 1 
  }
  
  else if ( GetValue = "Supraorbital Ridge")
  {
      click 955,571
      Guessesleft -= 1 
  }
  ;....ETC
  else
  {
      Errorcount += 1
  }
  ;} part of future while loop
  </code></pre>
  
  <p>Any tips on what I might be doing wrong. Ideally I'd use a case statement but AHK doesn't seem to have them.</p>