what each function does in plain english?
A function has multiple elements:
;func <- declares the beginning of a function declaration.
func nameOfFunction ($Parameter1,$parameter2,$Parameter3)
;do something here:
#cs (starts a comment)
Send("key") - would type out
key in whatever input interface currently in selection.
Send("{F1}") - would type F1 into an interface.
;find out for yourself how to send other key combinations and stuff.
;beware the 'focus'. It is what is being selected, meaning either an textbox, or an entire window. (e.g. when the type cursor is flashing, anything you type would end up... in the box, if the type cursor doesn't flash, nothing would go into that text-input-box. Easy.)
also, there's:
MouseMove(x,y[,time]). everything in [] is optional parameters, you can give it, or you can not. but if you ... say:
functionName(x,y[,t[,z]])... and you put in something on the z parameter, you must give a t param as well.
look at other functions on the autoit function list.

#ce (ends the comment)
endfunc
;(kinda obvious, it ends the function declaration)