How to Use
Copy-paste any of the below macros into your macro file (the randomly named .ini file in the same folder as config.txt) and change as much of the macro as you can for your own safety. The key to activate each macro is the number in brackets, such as [100] for NUMPAD4. You can find all virtual key codes here: Virtual-Key Codes.
Cheat/Hack Macros
The below macros activate the movement speed hack while the W key (87) is pressed and disable it momentarily when left shift (160) is pressed. This disable is needed, or the game will rubberband you and cancel sprint. In order for the macros to work, you must keybind right shift to sprint in the game (you can keep left shift as the primary keybind). This allows the macro to be activated by left shift, which then presses right shift to activate sprint at the correct time. You may remove all 'dbg' statements. They are there to help you ensure everything is working. If your movement speed gets stuck at some point, you can type "-cmd ms 1" into the console to reset it.
[variables]
realMS=0
[160]
keys=!eq % realMS,0|ms(VAR % realMS)|dbg % MS set to (VAR % realMS)
keys2=s100|161d|rs120,150|161u|s100|ms2|dbg % MS set to 2
repeat=0
[87]
keys=get % ms|store % realMS,(VAR % ms)
keys2=mul % ms,2
keys3=ms(VAR % ms)|dbg % MS set to (VAR % ms)
endkeys=ms(VAR % realMS)
repeat=0
pass=1
This macro freezes your current animation while you hold right click. This prevents the crosshair from moving around and allows for more accurate aiming. Best used with scopes. Note that the actual shot trajectory does not perfectly match the crosshair while this hack is active. However, it IS a static trajectory, so just test it out in the firing range, and you'll see what I mean. (Usually the bullet fires a bit underneath the crosshair.)
[2]
keys=!caw|gt3
keys2=s2000|kd2|as0
keys3=nop
endkeys=caw|as1
pass=1
repeat=0