Guest User

Untitled

a guest
Jul 11th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. mode =
  2.  
  3. ^a::
  4. mode := 1
  5. return
  6.  
  7. ^s::
  8. mode := 2
  9. return
  10.  
  11. ^h::
  12. mode := 3
  13. return
  14.  
  15. ^t::
  16. mode := 4
  17. return
  18.  
  19. ^g::
  20. msgbox, %mode%
  21. return
  22.  
  23. if(mode="1")
  24. {
  25. msgbox, 1 mode equals %mode%
  26. }
  27.  
  28. if(mode="2")
  29. {
  30. msgbox, 2 mode equals %mode%
  31. return
  32. }
  33.  
  34. if(mode="3")
  35. {
  36. msgbox, 3 mode equals %mode%
  37. return
  38. }
  39.  
  40. if(mode="4")
  41. {
  42. msgbox, 4 mode equals %mode%
  43. return
  44. }
Advertisement
Add Comment
Please, Sign In to add comment