I´m a newbie to Astroart and to scripting

I studied the help topics but it seems a bit difficult to create my own script to exo search.
The script should at least contain : SAO nb, RA , DEC, goto, take an image 30 sec, goto next object.
I was thinking of 20 objects in a loop.
Can I please ask for some help to get started with a script ?
Propably there are other commands that must be included but it is the first time for me so I dont
really know.
I would appreciate some help

Timo