Facebook
From Zalec, 1 Week ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 45
  1. SetTimer FKey, 500
  2. SetTimer Click, 10
  3.  
  4. F8::CToggle := !CToggle
  5.  
  6. Click:
  7. If (!CToggle)
  8. Return
  9. click
  10. return
  11.  
  12. MButton::Send % "{w " . ( GetKeyState("w") ? "Up}" : "Down}" )
  13.  
  14. XButton1::Send % "{c " . ( GetKeyState("c") ? "Up}" : "Down}" )
  15.  
  16.  
  17. XButton2::FToggle := !FToggle
  18.  
  19. FKey:
  20. If (!FToggle)
  21. Return
  22. Send e
  23. return