I want to know what the best way to auto update a script. I want to create a script like this. I want to get all my scripts work with this meaning that all my scripts could auto update themselfs (or manually).
I was thinking at something like this:
Script
1. The script itself will check a page on a domain for the script version (if the version is other) the script will wget the new file and remove the old one (or make a backup of it)
2. The bot will rehash/restart depending on the modification
Website
1. Every tcl script will have a folder or its own (.tcl and .info). The script will check the .info file and see if the script was updated or not
2. For the public scripts i will want to make a specific file so that every public script will contain a specified KEY (if key is invalid he wont be able to wget the file) if its valid he will
For the public scripts i think a manually command would be better than an automated proc
The part with they key i think it would be harder yet i posted anyway. If anyone has any other ideas on how to make this pelase reply.[/b]