I don't use an autohotkey set up for DkS2, but I'll happily write you up one sharpish if you send me the buttons you want it mapped to, and the key bindings of your right hand light attack, & right hand heavy attack. (guard break & leap attack).
There are two key bindings, one for your mouse that you probably use (double click for heavy) and one that is mapped to keyboard controls, those are the ones I'd need.
My mouse does my bindings for me