Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Meat420()
- {
- counter:=0
- MyRares:
- if GetKeyState("Escape", "P")
- ToolTip
- WinActivate Torchlight
- Sleep, 10
- ; click on fishing hole:
- MouseMove, 390, 346 ; coords are for 640x480 windowed
- Sleep 25
- Send, {LButton down}
- Sleep 25
- Send, {LButton up}
- loop {
- ; px, py, x1, y1, x2, y2, colour hexcode, # of shades, speed
- ; coords are for 640x480 windowed
- PixelSearch, Px, Py, 295, 340, 305, 350, 0x857B8E, 12, Fast
- if GetKeyState("Escape", "P")
- {
- ToolTip
- break
- }
- else{
- if not ErrorLevel
- {
- counter++
- ToolTip %counter%
- Sleep 10
- ; click on catch fish button:
- MouseMove, 325, 338 ; coords are for 640x480 windowed
- Sleep 33
- Send, {LButton down}
- Sleep 25
- Send, {LButton up}
- ; w8 for fish catching animation:
- Sleep 4350
- ; click on ok button:
- MouseMove, 330, 320 ; coords are for 640x480 windowed
- Sleep 25
- Send, {LButton down}
- Sleep 30
- Send, {LButton up}
- Sleep 30
- ; reset:
- Goto, MyRares
- }
- }
- Sleep 40
- }
- }
- F3::Meat420()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement