Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin
- Variable.Set("hasJump", "true")
- while Variable.Is equal to("hasJump", "true")
- begin
- Function.Execute("check jump")
- end
- end
- begin
- Window.Display message box("You should have arrived at your destination", "false")
- end
- function("check jump")
- begin
- Mouse.Click at coordinate("85", "135", "Right")
- Macro.Pause("500")
- Plugins.OCR (Simple)("96", "136", "307", "152", "jumpMsg")
- // Window.Display message box("{jumpMsg}", "true")
- Clipboard.Set text("{jumpMsg}")
- Variable.Set("hasJump", "false")
- Plugins.overlay (Text without background)("found thingie, going there", "macroMessages", "494", "85", "x1y1", "20000", "Calibri", "16", "255", "255", "255", "0")
- if Variable.Contains text("jumpMsg", "Jump through stargate")
- begin
- // Window.Display message box("jumping", "true")
- Plugins.overlay (Text without background)("warping to gate", "macroMessages", "494", "85", "x1y1", "20000", "Calibri", "16", "255", "255", "255", "0")
- Variable.Set("hasJump", "true")
- Mouse.Click at coordinate("109", "146", "Left")
- Macro.Pause("10000")
- Variable.Set("warpActive", "false")
- end
- while Variable.Does not contain text("warpActive", "JUMPING")
- begin
- Plugins.overlay (Text without background)("waiting for jump to start, then waiting 10 seconds", "macroMessages", "494", "85", "x1y1", "20000", "Calibri", "16", "255", "255", "255", "0")
- Plugins.OCR (Simple)("909", "808", "1000", "828", "warpActive")
- Macro.Pause("1000")
- end
- Macro.Pause("10000")
- Plugins.OCR (Simple)("100", "180", "130", "193", "hasDock")
- if Variable.Contains text("hasDock", "Dock")
- begin
- Mouse.Click at coordinate("110", "190", "left")
- end
- end
- function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement