aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 07:32 PM |
topic = "The Civil War"
essay = ""
paragraph1 = "Despite what many might think, Topic is well known across hundreds of nations all over the world. Topic has been around for several centuries and has a very important meaning in the lives of many. It would be safe to assume that Topic is going to be around for a long time and have an enormous impact on the lives of many people." paragraph2 = "Topic has a large role in American Culture. Many people can often be seen taking part in activities associated with Topic. This is partly because people of most ages can be involved and families are brought together by this. Generally a person who displays their dislike for Topic may be considered an outcast." paragraph3 = "It is not common practice to associate economics with Topic. Generally, Topic would be thought to have no effect on our economic situation, but there are in fact some effects. The sales industry associated with Topic is actually a 2.3 billion dollar a year industry and growing each year. The industry employs nearly 150,000 people in the United States alone. It would be safe to say that Topic play an important role in American economics and shouldn't be taken for granted." paragraph4 = "After a three month long research project, I've been able to conclude that Topic doesn't negatively effect the environment at all. A Topic did not seem to result in waste products and couldn't be found in forests, jungles, rivers, lakes, oceans, etc... In fact, Topic produced some positive effects on our sweet little nature." paragraph5 = "Oh does Topic ever influence politics. Last year 5 candidates running for some sort of position used Topic as the primary topic of their campaign. A person might think Topic would be a bad topic to lead a campaign with, but in fact with the social and environmental impact is has, this topic was able to gain a great number of followers. These 5 candidates went 4 for 5 on winning their positions." paragraph6 = "Topic seem to be a much more important idea that most give credit for. Next time you see or think of Topic, think about what you just read and realize what is really going on. It is likely you under valued Topic before, but will now start to give the credited needed and deserved."
essay = paragraph1..paragraph2..paragraph3..paragraph4..paragraph5..paragraph6
essay = string.gsub(essay, "Topic", topic)
print(essay)
Your welcome :3
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 07 Sep 2011 07:36 PM |
Could stand to be alot more efficient or at least more customization.
topic = "Bob" pars = {[[topic is cool. I like topic.]],[[topic sux]],[[no u topic]]}
for i, v in pairs(par) do essay = essay .. v end essay = essay:gsub("topic",topic) print(essay)
~IT'S FREEEEEEEE!!!!! |
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 07:38 PM |
@lucas
Your's has many errors :P Plus you didn't put things in strings :O Mine works just fine in like 20 lines of code. And it makes it look believable :P I should probably just format it in the output..
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
swmaniac
|
  |
| Joined: 28 Jun 2008 |
| Total Posts: 15773 |
|
|
| 07 Sep 2011 08:25 PM |
"The American Civil War (1861–1865)..." -Wikipedia. (Presumably you meant the American Civil War)
2011 - 1861 = 150
1.50 < 2
"Several Centuries" LIES. |
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 08:26 PM |
I never specified which Civil War. I could've meant the French Civil War which DID occur many centuries ago :3 What now? :D
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
MXrcr20
|
  |
| Joined: 01 Oct 2008 |
| Total Posts: 2644 |
|
|
| 07 Sep 2011 08:27 PM |
| The ends of the paragraphs will not have a space between the period and the next paragraph. |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
| |
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 08:28 PM |
So? Not my problem. My teacher won't notice that while grading... :P
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 08:28 PM |
| I use DontGiveACrapAndDoItInTheMorningWhenIHaveNoTimeLeftService. |
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 08:28 PM |
@Arceus
I use TooLazyAndTooBusyWithTF2SoIDoItTheClassBeforeOrOnTheBusService.
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
MXrcr20
|
  |
| Joined: 01 Oct 2008 |
| Total Posts: 2644 |
|
|
| 07 Sep 2011 08:28 PM |
| I use MyFriendsInFirstPeriodService. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 08:30 PM |
| I use DontDoItAndTellYourTeacherYourFriendStoleYourPaperAndSheOrHeBelievesItService |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 08:37 PM |
"TooLazyAndTooBusyWithTF2SoIDoItTheClassBeforeOrOnTheBusService."
"TheClassBeforeOrOnTheBusService."
"OnTheBusService"
w t f |
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 08:39 PM |
Wut? I'm only 15 D: Don't judge the fact I can't drive myself to school :(
"I like dooly-bops" -- ArceusInator |
|
|
| Report Abuse |
|
|
MXrcr20
|
  |
| Joined: 01 Oct 2008 |
| Total Posts: 2644 |
|
| |
|
| |
|
MXrcr20
|
  |
| Joined: 01 Oct 2008 |
| Total Posts: 2644 |
|
|
| 07 Sep 2011 08:46 PM |
| lrn2hackreallifewithoutgettingbannedbygod |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 08:47 PM |
"Wut? I'm only 15 D:"
Me too but I get my mom to drive me l0l0l0l0l0 |
|
|
| Report Abuse |
|
|
aboy5643a
|
  |
| Joined: 20 Nov 2010 |
| Total Posts: 2785 |
|
|
| 07 Sep 2011 08:49 PM |
@Arceus
My mom has to work lololololol. Normally I don't ride the bus since I have practice in the mornings and my upper-classmen friends drive me to school :P |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 08:54 PM |
| My mom works too lolololololol. |
|
|
| Report Abuse |
|
|
MXrcr20
|
  |
| Joined: 01 Oct 2008 |
| Total Posts: 2644 |
|
|
| 07 Sep 2011 08:55 PM |
My mom works...
In the kitchen. |
|
|
| Report Abuse |
|
|