automatically create network

Hello, I am a new user, I need help, I want to create a script for the automatic creation of a new network, I read that you can also use Automator, or the applesript, but I do not know them! could you help me?
I have a Mac Book Air Mac OS 10.7.4