Jump to content

Question


Recommended Posts

$search = PixelGetColor(622, 730)
If $search  "11468800" Then

Is there a away If $search dosen't equal "11468800".

Is there a symbol that mean's doesn't equal or is there a phrase that I need?

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Link to comment
Share on other sites

  • Developers

$search = PixelGetColor(622, 730)
If $search  "11468800" Then

Is there a away If $search dosen't equal "11468800".

Is there a symbol that mean's doesn't equal or is there a phrase that I need?

Did you check in the Helpfile ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Operator Description

=

Assignment. e.g. $var = 5 (assigns the number 5 to $var)

+=

Addition assignment. e.g. $var += 1 (adds 1 to $var)

-=

Subtraction assignment.

*=

Multiplication assignment.

/=

Division assignment.

&=

Concatenation assignment. e.g. $var = "one", and then $var &= 10 ($var now equals "one10")

+ Adds two numbers. e.g. 10 + 20 (equals 30)

- Subtracts two numbers. e.g. 20 - 10 (equals 10)

* Multiplies two numbers. e.g. 20 * 10 (equals 200)

/ Divides two numbers. e.g. 20 / 10 (equals 2)

& Concatenates/joins two strings. e.g. "one" & 10 (equals "one10")

^ Raises a number to the power. e.g. 2 ^ 4 (equals 16)

= Tests if two values are equal (case insensitive if used with strings). e.g. If $var= 5 Then (true if $var equals 5)

== Tests if two values are equal (case sensitive if used with strings)

<> Test if two values are not equal.

> Tests if the first value is greater than the second.

>= Tests if the first value is greater than or equal to the second.

< Tests if the first value is less than the second.

<= Tests if the first value is less than or equal to the second.

AND Logical AND operation. e.g. If $var = 5 AND $var2 > 6 Then (true if $var equals 5 and $var2 is greater than 6)

OR Logical OR operation. e.g. If $var = 5 OR $var2 > 6 Then (true if $var equals 5 or $var2 is greater than 6)

NOT Logical NOT operation. e.g. NOT 1 (equals 0)

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
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...