Action scripting

what is the best method of knowing and remembering the actual script code