Just look through already made scripts, put pieces together. There are a decent amount of tutorials on the web as well as the coding help section. You won't find everything in a tutorial, you will have to do things like dump in the console for certain things. Remember that patience is key, you need to be patient and keep yourself together, not everything will come to you in an instance.