Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
12,828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. n1status := 0
  2. n2status := 0
  3. n3status := 0
  4. n4status := 0
  5. Send, {Numpad1 up}
  6. Send, {Numpad2 up}
  7. Send, {Numpad3 up}
  8. Send, {Numpad4 up}
  9.  
  10.  
  11. F1::
  12. If( n1status = 0 ){
  13. Send, {Numpad1 down}
  14. n1status = 1
  15. } Else If ( n1status = 1){
  16. Send, {Numpad1 up}
  17. n1status = 0
  18. }
  19. Return
  20.  
  21. F2::
  22. If( n2status = 0 ){
  23. Send, {Numpad2 down}
  24. n2status = 1
  25. } Else If ( n2status = 1){
  26. Send, {Numpad2 up}
  27. n2status = 0
  28. }
  29. Return
  30.  
  31.  
  32. F3::
  33. If( n3status = 0 ){
  34. Send, {Numpad3 down}
  35. n3status = 1
  36. } Else If ( n3status = 1){
  37. Send, {Numpad3 up}
  38. n3status = 0
  39. }
  40. Return
  41.  
  42.  
  43. F4::
  44. If( n4status = 0 ){
  45. Send, {Numpad4 down}
  46. n4status = 1
  47. } Else If ( n4status = 1){
  48. Send, {Numpad4 up}
  49. n4status = 0
  50. }
  51. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement