xegaJ

[Construction] Oak Dungeon Doors

Oct 8th, 2016
1,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Contact me for any questions on Reddit: /u/xegaJ
  2. ; This script is used to make Oak Dungeon Doors.
  3. ; Uses q, w & e to build the Oak Dungeon Doors + a, s & d to remove them. These keys can be changed to suit your preferences.
  4.  
  5. q:: Click right
  6. return
  7.  
  8. w:: MouseMove, 0, 54, 1, R
  9. return
  10.  
  11. e:: Click
  12. return
  13.  
  14. a:: Click right
  15. return
  16.  
  17. s:: MouseMove, 0, 108, 1, R
  18. return
  19.  
  20. d:: Click
  21. return
  22.  
  23. `:: ; Pressing ` (~/console key) turns the AHK icon in your system tray to red to let you know that's it's suspended.
  24.     Suspend, Permit
  25.     if not A_IsSuspended
  26.     {
  27.         Menu, Tray, Icon, %A_AhkPath%, 5, 1
  28.         Suspend, On
  29.     }
  30.     else
  31.     {
  32.         Menu, Tray, Icon, %A_AhkPath%, 1, 0
  33.         Suspend, Off
  34.     }
  35.     return
Advertisement
Add Comment
Please, Sign In to add comment