Suggestion: it's great to start somewhere, and be motivated to make things
happen. But maybe don't start at the top (this request is a little tricky.)
The reason is because of lua, math, etc. In fact I haven't gotten into mouse
movements except one time to see if the mouse works! So I will go now
and look into it further.
Start at the beginning, learn the basic requirements of lua scripting,
read the intro to lua scripting for GG, go into the scripting forums,
write your first script by following the examples, learn where the scripts
go into the folders, and how to assign them to objects.
Do it a few more times with different scripts. One big trick when making
your own script is the variable assignment techniques! Learn that part as
soon as you can- it will be essential going forward. Go into global.lua and look
through the many functions you can insert into your script, and how the
syntax works. Now come back and ask for assistance on the bigger/ more
alien stuff (alien means it's harder to read) because even people who have
scripted before a little (me) can't automatically understand new things so
fast (me!) But you won't likely find a more friendly crew elsewhere...