If people want to see examples of how certain things are scripted there are thousands of scripts of varying size and complexity available on dozens of websites on the net. Isn't that one of the key points of open source - that anyone can see and learn from what's already been created?