Wow, exactly 1 hour of programming later, and I have the plugin ready!

Download it here.

Advertisements