Hi there again. I have spent a few (about 10) hours trying to learn how to use Autohotkey for a specific reason.
This might be a bit in the grey zone what with the rules of Carbine. So if you think this is against the rules (which I am not certain it is), then please state that, and I will drop the matter.
Anyways. I have a mouse with two buttons, and I cannot get another one any time soon (money constraints).
But there are only 2 buttons I can continuously press without eventually getting damaged muscles in my hand. But I want 3 skills tied to those two buttons.
I found some info about alternating between states. As in
q:: //toggles between the two states
This script works. But when I try to add it to your AHK script, it won't. "q" would be tied to my spellsurge toggle, "a" would be the key that mouse 1 is bound to through LockDown. "s" would be quick-draw, and "d" would be true-shot.
As stated above, it is in a grey zone. But since it is much like having a toggleable shift-key and pressing a or shift-a, I am of the opinion that it would not break the rules. Added to that, I would have to be very carefull not to press my Spellsurge toggle unless certain that it would actually toggle spellsurge (or the spells would get switched, ie true-shot when not spellsurged). If I was not already dependent upon shift or other pinkie-keys, I would simply bind it to toggle according to +KEY. But I cannot.
Aight. cheers for any help.
Is that how you comment in the file? Comments have to be preceded by a semicolon not two forward slashes. Where are you adding the code to the file? If it works in another file you might want to change the variable name in case it's being used somewhere else in the script.