I posted instructions on this in the wpl forums about 3 months ago.....its quite easy, just very time consuming.....
depending on how much free time you have, it could take anywhere from 3 to 6 months to write one from scratch. I have learned a few shortcuts to make it easier, but the campaigns I've wrote took me about 30 hours a week for 4 months.