I tried to add a cancel button to the maintained window once by keeping an internal database correlating the index with spell name and target, but in the end gave up for various reasons. There is probably a lengthy post from me on that somewhere. I forgot how I got the index number for the command, I think it was increased with each cast but don't remember sure.
|