Quite similar to Pretty Screenshot one would say. No it isn't. Q-Screen is more complex and way smarter as it has a detailed screenshot naming plan and support for custom names when used manually.
This script is able to "temporarily" capture your hud preferences and restore them when the screenshot has been taken without using variables. To use it, you can simply do /qscreen, and the captured picture will be saved with mode, map name and millis in the filename. If you decide to do /qscreen TEST, the screenshot will be saved with the name TEST.
If you would like to use it instead of the default screenshot bind, do /bind F12 qscreen
Enjoy, and give feedback. Report any bugs or problems that you may encounter!
[UPDATE 24/07/2011] Updated for justice, now without variables at all. Mode names removed due to bloat and the difficulty in maintaining a proper list. Everything should work without problems. Replaces the default screenshot in F11.
[UPDATE 25/07/2011] Bugs fixed, names now work as they should. Modes added back in. Added Justice compliant version. Fixed the stupid F11 bind to F12, sorry for any inconveniences.
[UPDATE 13/11/2011] A nice update which solves the problem of the hud elements disappearing when taking screenshots too fast, thanks to srbs. Also, a realtime sleep amount calculation provides the best sleep value for taking pefect screenshots even under heavy lag!