Jump to content

Help needed quick..pls


 Share

Recommended Posts

I think I'm going to burst right now..I'm trying to get used to the AutoIt syntax..I'm kinda into PASCAL style syntax..ok..so..pls excuse the language..but..WHAT THE F*CK IS WRONG WITH THIS BIT OF CODE?????

$x=ControlSend("Away","",5001,"Hello World")

If $x=1 Then MsgBox(0,"Y","Y")

Else MsgBox(0,"N","N")

EndIf

WHY IN GOD'S NAME DOESN'T IT COMPILE????

(And I know this must be such a newbie question..But it simply says "Syntax error" and that is MORE THAN ANNOYING!)..

Edited by VicTT
Quote

Together we might liveDivided we must fall

 

Link to comment
Share on other sites

Yea..same error..

;BEGIN

: ERROR : syntax error

Else MsgBox

~~~~^

;END

This is exactly what I'm getting..

<{POST_SNAPBACK}>

Hehe, sorry about that one. :">

I quicly scanned your code and noticed the first MsgBox, but not the second.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...