Advertisement
Guest User

wc3 alt inventory hotkeys

a guest
Apr 10th, 2022
4,192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 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. !q::SendInput, {Numpad7}
  62. +!q::SendInput, +{Numpad7}
  63. !w::SendInput, {Numpad8}
  64. +!w::SendInput, +{Numpad8}
  65. !a::SendInput, {Numpad4}
  66. +!a::SendInput, +{Numpad4}
  67. !s::SendInput, {Numpad5}
  68. +!s::SendInput, +{Numpad5}
  69. !z::SendInput, {Numpad1}
  70. +!z::SendInput, +{Numpad1}
  71. !e::SendInput, {Numpad2}
  72. +!e::SendInput, +{Numpad2}
  73. ; User Specified Hotkeys:
  74. CapsLock::Send, {Backspace}
  75. +CapsLock::Send, +{Backspace}
  76.  
  77. Xbutton1::F1
  78. Xbutton2::Numpad7
  79. Mbutton::Tab
  80. ; these^ are middle mouse and extra mouse buttons
  81.  
  82. ;;LCtrl::Space
  83. ;;Space::LCtrl
  84. ;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