What you are asking is huge area of knowledge base.
It is out of scope Forum's post. Sorry.
There are hundred of books and online tutorials for this topic. Nobody can send you ready to use script. It's required lot of work and affords, you have to do yourself.
It is your job.
Definitely, it is not one day of learning...
So, you'd better start it right now.
When you are ready - you would be able to ask questions here, that are answerable,
instead of screaming: "give me the script by tonight..."