Scripting Language extensions via plugins

Can anyone please post a basic tutorial of how to use this thing ? this is very vague…