there is only 1 problem . you need to declare many variable but you dont need to know anything about autoit .
Code:
$server,$TITLE,$TEXT,$BUTTON,$CLICKS,$X,$Y
that are only the vars of the gg func
Code:
Global $server =InputBox("Server","type here your server shortcut")
Global $sid =InputBox("sid Login","Type you sid here")
Globa $TITLE = "windows Title"
........
There are many more variable but i will do this and give all the values of the variable . For example the $X or $Y are for the coords to click (works in backround) you must use the same resolution as the form . in my UDF 1280 / 720 .