Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force
- WinActivate, ahk_exe Dofus.exe
- Esc::ExitApp
- #IfWinActive, ahk_exe Dofus.exe
- F5::
- Mine()
- Return
- #IfWinActive
- Mine() {
- CoordMode, Mouse, Client
- Irons1 := [ [610, 575], [650, 555], [831, 328], [880, 300], [917, 300], [1317, 454] ]
- Irons2 := [ [780, 475], [820, 450], [1040, 350], [1100, 328], [1142, 314] ]
- Move1 := [1295, 578]
- Move2 := [500, 570]
- Sleep, 1000
- loop {
- Send, {Shift down}
- For i, iron in Irons1 {
- MouseClick, left, iron[1], iron[2]
- Sleep, 100
- }
- Send, {Shift up}
- Sleep, 25000
- Send, {Enter}
- MouseClick, left, Move1[1], Move1[2]
- Sleep, 2000
- Send, {Shift down}
- For i, iron in Irons2 {
- MouseClick, left, iron[1], iron[2]
- }
- Send, {Shift up}
- Sleep, 23000
- Send, {Enter}
- MouseClick, left, Move2[1], Move2[2]
- Sleep, 600000
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement