This tutorial is aimed at people with little or no prior programming experience, and is an introduction to Papyrus that shows you how to use its simpler features without going too in-depth or getting too technical. In order to define this behaviour, you will need to use Skyrim's scripting language, Papyrus.
When modding Skyrim, you will likely find yourself needing to define behaviour that cannot be set up with the Creation Kit, like removing a key from the player when they open a door, or killing a character when a lever is pulled. 27 th February 2012 Papyrus for Beginners Introduction