Jump to content

Recommended Posts

Posted (edited)

how to do this comand?:

$a = $coord[0]+25

$b = $coord2[0]+30

$c = $coord[1]+65

$d = $coord2[2]+15

$x = $a-$b

$y = $c-$d

ThanKs! :D

Edited by toader

[center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center]

Posted

how to do this comand?:

$a = $coord[0]+25

$b = $coord2[0]+30

$c = $coord[1]+65

$d = $coord2[2]+15

$x = $a-$b

$y = $c-$d

ThanKs! :D

Maybe you lost something in the edit, but there's no command here.

What are you trying to do, how are you doing it, and what is happening instead?

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Posted (edited)

Maybe you lost something in the edit, but there's no command here.

What are you trying to do, how are you doing it, and what is happening instead?

$coord1 = PixelSearch( 170, 126, 960, 390, 0xFFFFFF ) 
$coord2 = PixelSearch( 170, 126, 960, 390, 0xFEAE2C ) 
$coord3 = PixelSearch( 170, 126, 960, 390, 0xBBB083 )

$a = $coord1[0]+25
$b = $coord2[0]+30
$c = $coord1[1]+65
$d = $coord2[1]+15
$x = $a-$b
$y = $c-$d

I wanna to do script

if $x<160 or $y<160 then
     Send("{SHIFTDOWN}") 
     MouseClick("primary", $b, $d, 1) 
     Send("{SHIFTUP}") 
     Send("e") 
     Send("{SHIFTDOWN}") 
     MouseClick("primary", $b, $d, 1) 
     Send("{SHIFTUP}")
Else......
Endif
Edited by toader

[center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center]

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
  • Recently Browsing   0 members

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