Jump to content
Sign in to follow this  
6105

help whit comand

Recommended Posts

6105

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]

Share this post


Link to post
Share on other sites
Skruge

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]

Share this post


Link to post
Share on other sites
6105

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]

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.