Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.93 KB | None | 0 0
  1. setThrowException(False)
  2. setShowActions(False)
  3.  
  4. import org.sikuli.script.ImagePath;
  5.  
  6. Settings.MoveMouseDelay = 0
  7.  
  8. ImagePath.setBundlePath("C:\College\1234bot")
  9.  
  10. if exists("night"):
  11.     click("pots")
  12.     if exists("torch"):
  13.         click("torch")
  14.     else:
  15.         popup("Hm. Looks like you've run out of torches?\nLets buy some more.","DootDootBot1")
  16.         click("cooldown").targetOffset(214,-2)
  17.         if exists("shop"):
  18.         click("shop"); click("torch2"); click("addtenitem"); hover("buy"); mouseDown(LEFT); wait(3); mouseUp(LEFT); click("exitshop").similar(0.33); click("pots"); click("torch")
  19.         else: popup("No stores around? You should probably fix that...")
  20.    
  21. if exists("demon"):
  22.     click("demon")
  23.     if exists ("battle"):
  24.         click("battle")
  25.     else: click("cooldown1")
  26.  
  27. if exists("skeleton"):
  28.     click("skeleton")
  29.     if exists ("battle"):
  30.         click("battle")
  31.     else: click("cooldown1")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement