You can follow the tutorials on Smilebasic. Also, you should see the program ex1 to ex4 to learn the basic.
Also, you can ask help to the community regarding the smilebasic library or other stuffs.
There's an e-manual for the game that teaches the very basics of this program. Aside from that most learning comes from experimenting with code on your own, reading other people's programs and understanding how they work, and asking the community right here.
If you're looking for a full fledged tutorial on coding, I hear KhanAcademy.org has a fairly good introduction to programming course.