who wrote this episode?
Jane Espenson, David Benioff and D.B. Weiss
A Golden Crown
The teleplay was written by Jane Espenson, David Benioff and D.B. Weiss from a story by Benioff and Weiss, and directed by Daniel Minahan, his directorial debut for the series.

who had molten gold poured over their head Drogo pours molten gold on his head. this event is from a novel or a series? A Golden Crown" is the sixth episode of the first season of the HBO medieval fantasy television series "Game of Thrones",
wiki:24066961
A Golden Crown [SEP] Introduction
The episode was well received by critics, who praised aspects of the King's Landing storyline and the culmination of Viserys's storyline. In the United States, the episode achieved a viewership of 2.4 million in its initial broadcast.