Most of Dune: Awakening Speeder's functionality is handled by config.txt, but there are some useful things you can do with scripts. Let me know if there are any commands you would like added.
The keys to activate the macros are in brackets and use the virtual key code of the key (97 = NUMPAD1). You may change these keys to anything you want.
Heal if Low HP
Press NUMPAD1 to start.
[97]
keys=hp75|51d|s100|51u|dbg % using bandage!
keys2=s10
repeat=2
Spam Attack
This is the macro in the video to make the most of the speed hack (and to give your fingers a rest). You may change the Home key (36) to any key you want, but this key should be bound to your main attack in the game. The idea is for this macro to spam your main attack as quickly as possible while the speed hack is active. Be sure to change line 4 in config.txt so that the speed hack is activated by this key as well.
Hold NUMPAD2 to attack.
[98]
keys=36d|rs40,50|36u|rs40,50
repeat=1
Auto-Dodge
I made this by accident by not adding a delay, but it actually works well to instantly dodge anything attacking you.
30 seems to be the first attack ID of any attack, so you can use it to dodge everything.
Press NUMPAD3 to toggle it on/off.
[99]
keys=patt30|164d|gt*
keys2=164u
keys3=s10
endkeys=dbg % OFF
repeat=2
Auto-Dodge & Auto-Parry
This will hold right click down after 300 milliseconds when an enemy uses their basic attack.
The 300-millisecond delay is necessary; otherwise, you parry too early.
This script will also press left ALT if an enemy uses their charge attack (the one that can't be blocked).
Press NUMPAD4 to toggle it on/off.
[100]
keys=!patt20|gt5
keys2=eq % blockTimer,0|st % blockTimer,300|dbg % blocking soon
keys3=ct % blockTimer|2d
keys4=gt*
keys5=!eq % blockTimer,0|store % blockTimer,0|2u
keys6=!patt30|gt10
keys7=eq % dodgeTimer,0|st % dodgeTimer,300|dbg % dodging soon
keys8=ct % dodgeTimer|164d
keys9=gt*
keys10=!eq % dodgeTimer,0|store % dodgeTimer,0|164u
keys11=s10
endkeys=dbg % OFF
repeat=2
Auto-Run
Just a simple auto-run macro. Hit F2 to start.
This macro holds down the W (87) key. Change it if you need to.
[113]
keys=87d
endkeys=87u
repeat=2