Start by deciding just what it is you want your bot to do.
Then read the help file. There are several sites that already have scripts for bots premade that you can download and install.
Further queries should be posted in the Scripts & Pop-ups section, since bots are just a matter of one or more scripts.