If assigning a work to the public domain isn't valid in your region, my scripts (as specified below) may be copied, modified and distributed as outlined by the Creative Commons CC0.
I realised it's not really a copyright license anymore, but I'm keeping the title anyway.
Unless explicitly marked otherwise, any original script I write and post or have written and posted in these forums may be considered public domain. If parts are derived from scripts written by others, those parts may be copyright their respective authors. I will attempt to identify such parts if they are present, typically with a name and/or URL.
In other words: use, modify, distribute, etc. my scripts however you like.
I've always felt that attaching explicit licenses detracts from my posts, so this thread is here to remove any doubt about how my scripts may be used, and to save me answering should someone ask. Since the zlib license is very close to my own views, I've used it as a base.
Obviously if I post a script which is not entirely my own work, the original author's terms also apply. (If I post such a script and don't mention the original author, feel free to berate me.)
Unless otherwise noted, the following license may be applied to any script I have posted or will post in Scripts & Functions:
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
[*:17p5ko30]The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
[*:17p5ko30]Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This may also be applied to any script I have posted or will post in Ask for Help, except that restrictions 1 and 2 are optional.