Jump to content

Keep hitting a button until Monster is dead?


YaBoy
 Share

Recommended Posts

It probably requires some work on your part. Do a search for +aim +bot and take a look at ControlSend, MouseClick and the Pixel* functions in the help file.

Link to comment
Share on other sites

I would write a toggle script.

e.g.

HotKeySet('{F5}','_ToggleClickingGuardButton')
HotKeySet('{F6}','_ExitScript)

$GuardButtonX = 100
$GuardButtonY = 200
$KeepClicking = False

While 1
    If $KeepClicking Then
        MouseClick('left',$GuardButtonX,$GuardButtonY,1,100)
    EndIf   
WEnd

Func _ToggleClickingGuardButton()
    $KeepClicking = Not $KeepClicking
EndFunc

Func _ExitScript()
    Exit
EndFunc

Untested!

----[ SandyD ]---
Link to comment
Share on other sites

I would write a toggle script.

e.g.

HotKeySet('{F5}','_ToggleClickingGuardButton')
HotKeySet('{F6}','_ExitScript)

$GuardButtonX = 100
$GuardButtonY = 200
$KeepClicking = False

While 1
    If $KeepClicking Then
        MouseClick('left',$GuardButtonX,$GuardButtonY,1,100)
    EndIf   
WEnd

Func _ToggleClickingGuardButton()
    $KeepClicking = Not $KeepClicking
EndFunc

Func _ExitScript()
    Exit
EndFunc
  oÝ÷ ÙIízË^w}ÿªê-y.©u©¢²Ö¤z«zØb²+zÛ^¯}ÚºÚ"µÍÝÙ^TÙ]
    ÌÎNÞÑ_IÌÎNË  ÌÎN×ÕÙÙÛPÛXÚÚ[ÑÝX]ÛÌÎNÊBÝÙ^TÙ]
    ÌÎNÞÑIÌÎNË   ÌÎN×Ñ^]ØÜ ÌÎNÊBÌÍÑÝX]ÛHLÌÍÑÝX]ÛHHÌÍÒÙYÛXÚÚ[ÈH[ÙBÚ[HBY  ÌÍÒÙYÛXÚÚ[È[[ÝÙPÛXÚÊ   ÌÎNÛY    ÌÎNË ÌÍÑÝX]Û    ÌÍÑÝX]ÛKKL
B[YÑ[[ÈÕÙÙÛPÛXÚÚ[ÑÝX]Û
B   ÌÍÒÙYÛXÚÚ[ÈHÝ  ÌÍÒÙYÛXÚÚ[Â[[Â[ÈÑ^]ØÜ

B^][[Â

i542

EDIT: Sig and tags.

Edited by i542

I can do signature me.

Link to comment
Share on other sites

If you're using it to make a BOT, than I would suggest this:

Do
    MouseClick('left', $X, $Y, 1, 100)
Until PixelSearch($x, $y, $left, $right, $hex, 10) = @error

If you still have trouble understanding this, or you can't get it to work, just tell us and give us a description of what exactly you are having trouble with.

Kurt

PS: updated avatar & title :)

Awaiting Diablo III..

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...