well, you can build the lock into your script directly.
as simple as write a value to registry for first install date. crypted ofcourse and to such location nobody knows to check.
then just check that value.

now, a cracker can work that out, like any other normal locker but then you can go further.
anyways, this is the basic locker type and should work just fine.

other aproach on the same thing is to check the script file date and maybe even combination of it and the value in registry.

while these are ok, what you really would need for good and cool, is to make your script check and inform via internet.
as example, AdminScriptEditor does that kinda thingie...

and needless to say, tokenize your script, otherwise it's sooooo easy to reverse engineer it.
_________________________
!

download KiXnet