They do work.
If you are having trouble then post a specific question here - we can't help you unless you tell us exactly what is going wrong.
I strongly recommend that, before trying to use any scripts, you study snYpir's Introduction to Script Snippets. Also look at Johan Gustafsson's Scripting tutorial. Both available in the Editors Depot, both excellent.