It looks like in the command in your autoexec file that you are trying to have windower process the event the way that its currently written, instead of it being sent to spellcast.
Your trigger mechanism seems to be stored in spellcast. You might want to try directing it to spellcast from Autoexec. Even if that weren't necessary, if the two autoexec lines that you have written are in a file for autoexec they dont look formatted correctly.
Some lines from autoexec files that I used previously as an example:
Code
<register event="time_6.*|time_17.*">sc var set NDD Dusk</register>
<register event="gainbuff_Voidwatcher" runonce="false">exec sam/BindVoidNinWar.txt;</register>
<register event='(regex)hpp_(100|7[5-9]|[8-9].)$(/regex)'>sc enable L.Ring</register>
If you are trying to make something happen when you gain or lose a buff aside from setting the variable you can nest that into the same AE line.
I dont really see why something thats a singular gain or lose buff would need to be a regex for your AE trigger.