scriptwriter

n. Person who writes scripts for films, tv, etc.  scriptwriting n.