There is no actual learning sequence to learn this. You need to find what you need on this forum. Find already made plugins and research them, find what everything does, if you can't understand yourself, just make a thread on Scripting Help and someone will help you.