There's an example, I think, in that thread but Shaz says it would be better served as a separate script (as I'm sure you know).
I may give this a little look into. I've got a few ideas on implementations, but I've not done much scripting on the graphical side of things.
If you have an example spritesheet I can work from, that would be great. Feel free to PM it to me.