This is already present in the p166 client. Long story short, it is a flash animation loop, located in a UGX file, which is triggered by an EVENT. You can call it from the Interface.u, as far as I remember. Don't ask where, I found it a long long time ago and I have since long forgotten where it was.