Advertisement
Guest User

wc3 inventory hotkeys

a guest
Apr 10th, 2022
6,756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. ;;;;; Enable/disable using NUMLOCK ;;;;;
  2. ~*Enter::
  3. ~*NumpadEnter::
  4. Suspend, Permit
  5. if (bInChatRoom == True)
  6. return
  7. Suspend
  8. if (A_IsSuspended == true)
  9. {
  10. SetNumLockState, Off
  11. }
  12. else
  13. {
  14. SetNumLockState, On
  15. SoundPlay,*48
  16. }
  17. return
  18.  
  19. ;; Escape will cancel chatting, so turn the hotkeys back on
  20. ~*Esc::
  21. Suspend, Permit
  22. if (bInChatRoom == True)
  23. return
  24. Suspend, Off
  25. SetNumLockState, On
  26. return
  27.  
  28. *NumLock::
  29. Suspend, Permit
  30. bInChatRoom := not bInChatRoom
  31. if (bInChatRoom == True)
  32. {
  33. Suspend, On
  34. SetNumLockState, Off
  35. SoundPlay,*64
  36. }
  37. else
  38. {
  39. Suspend, Off
  40. SetNumLockState, On
  41. SoundPlay,*48
  42. }
  43. return
  44.  
  45.  
  46. ; Hotkeys Remapper:
  47.  
  48. ; Disable Windows Key and AltQQ GG
  49. Lwin::return
  50. <!q::return
  51.  
  52. ; Mini-Map Toggles
  53. <!g::<!g
  54. <!r::return
  55. <!t::return
  56. <!a::return
  57. <!f::return
  58. ;;to enable formation toggle add ;; to the line above
  59.  
  60. ; Inventory Keys:
  61. t::Send, {Numpad7}
  62. +t::Send, +{Numpad7}
  63. y::Send, {Numpad8}
  64. +y::Send, +{Numpad8}
  65. g::Send, {Numpad4}
  66. +g::Send, +{Numpad4}
  67. h::Send, {Numpad5}
  68. +h::Send, +{Numpad5}
  69. b::Send, {Numpad1}
  70. +b::Send, +{Numpad1}
  71. n::Send, {Numpad2}
  72. +n::Send, +{Numpad2}
  73.  
  74. ; User Specified Hotkeys:
  75. CapsLock::Send, {Backspace}
  76. +CapsLock::Send, +{Backspace}
  77.  
  78. Xbutton1::F1
  79. Xbutton2::Numpad7
  80. Mbutton::Tab
  81. ; these^ are middle mouse and extra mouse buttons
  82.  
  83. ;;LCtrl::Space
  84. ;;Space::LCtrl
  85. ;To swap the Ctrl key with the Spacebar just remove the ;; from the 2 lines above
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement