To write a MLP fanfic that is in the relm of MLP, just incorperate the show. Make references to the towns, mane 6, and backround ponies. For our idea being taken, try tweaking where it takes place, or the main ponies. Oh, and might want to tweak the story line depending on how close it is to nother story to avoid plagiarism.