Advertisement
Boeing747-8

Untitled

Jul 18th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.36 KB | None | 0 0
  1.  
  2. function removeAll(n)
  3. for i=0,900 do
  4. ui.removeTextArea(i,n)
  5. ui.addPopup(i, 2, "", n, 33226, 201, 349, true)
  6. end
  7. ui.addTextArea(99, "<p align='center'><b><font size='10'><a href='event:open'>Open Google", n, 681, 370, 112, 20, 0x000001, 0x000001, 1, true)
  8.  
  9. end
  10. function open(n)
  11. ui.addTextArea(15, "", n, 0, 0, 800, 400, 0xffffff, 0xffffff, 1, true)
  12. ui.addTextArea(99, "<p align='center'><b><font size='10'><a href='event:close'>X", n, 773, 370, 20, 20, 0xab0000, 0xab0000, 1, true)
  13.  
  14. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  15.  
  16. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='70'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, 180, 28, 440, 133, 0xffffff, 0xffffff, 1, true)
  17.  
  18.  
  19. end
  20. data={}
  21. for n,player in pairs(tfm.get.room.playerList) do
  22. data[n]={barrelRoll=0,b=false,times=0}
  23. end
  24.  
  25. function eventNewPlayer(n)
  26. ui.addTextArea(0, "<p align='center'><b><font size='10'><a href='event:open'>Open Google", n, 681, 370, 112, 20, 0x000001, 0x000001, 1, true)
  27.  
  28. data[n]={barrelRoll=0,b=false}
  29. end
  30. table.foreach(tfm.get.room.playerList,eventNewPlayer)
  31.  
  32. comments1=""
  33. comments2=""
  34. comments3=""
  35. comments4=""
  36. comments5=""
  37. comments6=""
  38. comments7=""
  39. comments8=""
  40. comments9=""
  41. comments10=""
  42. comments11=""
  43. comments12=""
  44. comments13=""
  45. comments14=""
  46. comments15=""
  47. comments16=""
  48. comments17=""
  49. comments18=""
  50. comments19=""
  51. comments20=""
  52. comments21=""
  53. comments22=""
  54. comments23=""
  55. comments24=""
  56. comments25=""
  57. comments26=""
  58. function showComments1(n)
  59. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment1'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments1, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  60. end
  61. function showComments2(n)
  62. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment2'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments2, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  63. end
  64. function showComments3(n)
  65. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment3'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments3, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  66. end
  67. function showComments4(n)
  68. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment4'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments4, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  69. end
  70. function showComments5(n)
  71. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment5'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments5, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  72. end
  73. function showComments6(n)
  74. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment6'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments6, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  75. end
  76. function showComments7(n)
  77. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment7'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments7, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  78. end
  79. function showComments8(n)
  80. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment8'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments8, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  81. end
  82. function showComments9(n)
  83. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment9'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments9, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  84. end
  85. function showComments10(n)
  86. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment10'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments10, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  87. end
  88. function showComments11(n)
  89. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment11'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments11, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  90. end
  91. function showComments12(n)
  92. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment12'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments12, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  93. end
  94. function showComments13(n)
  95. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment13'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments13, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  96. end
  97. function showComments14(n)
  98. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment14'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments14, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  99. end
  100. function showComments15(n)
  101. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment15'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments15, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  102. end
  103. function showComments16(n)
  104. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment16'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments16, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  105. end
  106. function showComments17(n)
  107. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment17'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments17, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  108. end
  109. function showComments18(n)
  110. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment18'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments18, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  111. end
  112. function showComments19(n)
  113. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment19'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments19, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  114. end
  115. function showComments20(n)
  116. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment20'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments20, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  117. end
  118. function showComments21(n)
  119. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment21'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments21, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  120. end
  121. function showComments22(n)
  122. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment22'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments22, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  123. end
  124. function showComments23(n)
  125. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment23'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments23, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  126. end
  127. function showComments24(n)
  128. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment24'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments24, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  129. end
  130. function showComments25(n)
  131. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment25'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments25, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  132. end
  133. function showComments26(n)
  134. ui.addTextArea(100, "<p align='center'><font color='#505050'><font size='15'><font face='sans-serif'><a href='event:comment20'>Comments</a></p><p align='left'><font color='#505050'><font size='11'>"..comments26, n, 36, 85, 256, 232, 0xffffff, 0xbdbdbd, 1, true)
  135. end
  136. function cafe(n)
  137. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Cafe</b>\n<font size='14'>\nThe café is a place where mice talk about a lot of topics. There are many interesting topic that appear on the café. It is used to advertise things, share your opinions, and just talk with other mice that aren't in your room, and make a topic about what to talk about. The café is very annoying to some people though, some people want it deleted.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  138. end
  139. function transformice(n)
  140. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Transformice ! »</b>\n<font size='14'>\nTransformice is a multiplayer game with a simple game idea of bringing cheese back to the hole. But consists of different minigames.<font color='#2825ba'>\n\nCreated: 2010\nOwners: Tigrounette, Melibellule", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  141. end
  142. function computer(n)
  143. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Computer</b>\n<font size='14'>\nComputers are things that we use to do things easier or to play with. If you just searched this, you are most likely using a computer, if not, an electronic. Computers are used to do math too. They are programmed to have great technology.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  144. end
  145. function fuzzy(n)
  146. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Fuzzyfirsdog#0000</b>\n<font size='14'>\nFuzzyfirsdog is a (noob) map maker in transformice. He is known alot for making planes that use an interesting mechanical combos to fly. Fuzzy also can make (noob) lua codes. In fact, he made this google with lua.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  147. end
  148. function mouse(n)
  149. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Mice</b>\n<font size='14'>\nA mouse, plural mice, is a small rodent characteristically having a pointed snout, small rounded ears, a body-length scaly tail. Transformice mice have some differences and have a 90 tfm-mass.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  150. end
  151. function pokemon(n)
  152. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Pokémon</b><font size='14'>\n\nPokémon is a media franchise managed by The Pokémon Company, a Japanese consortium between Nintendo, Game Freak, and Creatures. A very famous Pokemon is Pikachu. <font color='#2825ba'>\n\nCreated: 1996\nOwners: Satoshi Tajiri, Ken Sugimori", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  153. end
  154. function google(n)
  155. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><font color='#5284d4'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ffa600'>e\n</font></font></font></font></font></font></b></font><font color='#505050'><font size='14'>\nGoogle is a search engine used for widely varying things. This google is a transformice based edition. <font color='#2825ba'>\n\nCreated: 2018\nOwners: Fuzzyfirsdog#0000", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  156. end
  157. function village(n)
  158. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Village/801 Room</b><font size='14'>\n\nThe village/801 room in Transformice, is a place where mice come to relax, play with friends, roleplay, or trade consumables. The village map in transformice is shown as @801 because it represents that Transformice is from Atelier801. Originally village rooms were limited to having to type /room 801, but then they decided to make it called village, and also add it as a room choice as you can see on the rooms list, where you can choose game modes.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  159. end
  160. function worldcup(n)
  161. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b><font color='#FF0000'>France</font> <font color='#a0a0a0'>National</font><font color='#0000FF'> Soccer Team</font></b></font></font></font>\n<font size='14'><font face='calibri'><font color='#505050'>\nFrance won the 2018 World Cup with a final match against Croatia. France won with a score of 4-2 making history for France. France has not won the world cup since 1998.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  162. end
  163. function news(n)
  164. news="<font color='#002EFF'><font face='calibri'><b>FISHING EVENT</b>\n\n<font face='helvetica'></b><font size='14'><font color='#000000'>The fishing event has recently came out and as expected, <i>*#trade</i> rooms are filling up with event traders. From taking a look inside of those rooms, <b>A2</b>, <b>D5</b> and <b>B1</b> seem to be the rarest. From asking people in some transformice rooms, they are happy with an older event being played."
  165. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#000000'><b>Latest News</b><font color='#002EFF'>\n</font></font></font></font><font size='20'><font face='helvetica'>\n"..news, n, 358, 50, 421, 280, 0xffffff, 0xd4d4d4, 1, true)
  166. end
  167. function cake(n)
  168. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Cake Dessert</b><font size='14'>\n\nCake is a form of sweet dessert that is typically baked. In its oldest forms, cakes were modifications of breads, but cakes now cover a wide range of preparations that can be simple or elaborate.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  169. end
  170. function cheese(n)
  171. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Cheese</b><font size='14'>\n\nCheese is the main food that a mouse will eat in transformice or in real life. Cheese increases your mass when you have it on your back usually, do not go in water if you have cheese (and the gravity of the map is 7 or more). Cheese is used to buy clothes, skills, and consumables with cheese coins.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  172. end
  173. function feces(n)
  174. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Feces (poop)</b><font size='14'>\n\nFeces are the solid or semisolid remains of the food that could not be digested in the small intestine. Bacteria in the large intestine further break down the material.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  175. end
  176. function flower(n)
  177. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Flowers</b><font size='14'>\n\nFlowers are a very beautiful plant that can have varying colors to the petals. You can spawn flowers in the map editor too. Flowers are very good decorations and can leave a good scent.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  178. end
  179. function shaman(n)
  180. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><font color='#0ABDD4'><b>Shaman</b></font><font size='14'>\n\nTransformice shamans are magical helpers for mice trying to earn cheese. They have many kinds of cool powers. They even can give mice powers! Although in some minigames the shaman is suppose to do the opposite of helping; in survivor the shaman must try to kill all the mice.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  181. end
  182. function noob(n)
  183. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><font color='#FA0000'><b>Noob</b></font><font size='14'>\n\nA noob is a person who is inexperienced in a particular activity, especially computing or the use of gaming.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  184. end
  185. function human(n)
  186. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#3EA604'><b>Humans (homo sapiens)</b></font><font size='14'>\n\n<font color='#505050'>Homo sapiens is the systematic name used in taxonomy for the only extant human species. The name is Latin for \"wise man\" and was introduced in 1758 by Carl Linnaeus.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  187. end
  188. function science(n)
  189. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#3EA604'><b>Science</b></font><font size='14'>\n\n<font color='#505050'>Science is a systematic enterprise that builds and organizes knowledge in the form of testable explanations and predictions about the universe.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  190. end
  191. function lol(n)
  192. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>LOL Abbreviation</b><font size='14'>\n\nThe abbreviation <i>\"\LOL\"\</i> stands for <i>\"laugh out loud\"</i>. This is used mainly in text to express a lot of laughter. In the past, the phrase was actually short for <i>\"lots of love\"</i>.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  193. end
  194. function lollipop(n)
  195. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Lollipop</b><font size='14'>\n\n\A lollipop is a type of sugar candy usually consisting of hard candy mounted on a stick and intended for sucking or licking. Different informal terms are used in different places, including lolly, sucker, sticky-pop, etc.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  196. end
  197. function youtube(n)
  198. ui.addTextArea(10, "<font size='20'><font face='calibri'><font color='#505050'><b>Youtube <font color='#FF0000'>▶</font></b><font size='14'>\n\n\YouTube is an American video-sharing website headquartered in San Bruno, California. The service was created by three former PayPal employees—Chad Hurley, Steve Chen, and Jawed Karim—in February 2005.", n, 558, 50, 221, 280, 0xffffff, 0xd4d4d4, 1, true)
  199. end
  200. --
  201.  
  202. ui.addTextArea(15, "", nil, 0, 0, 800, 400, 0xffffff, 0xffffff, 1, true)
  203. function search(n)
  204. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  205. end
  206. function searchDown(n)
  207. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  208. end
  209. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  210.  
  211. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='70'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", nil, 180, 28, 440, 133, 0xffffff, 0xffffff, 1, true)
  212. function moveGoogleLogo(n)
  213. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='30'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, -150, 28, 440, 133, 0xffffff, 0xffffff, 0, true)
  214. end
  215. function normalLogoLocation(n)
  216. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='70'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, 180, 28, 440, 133, 0xffffff, 0xffffff, 1, true)
  217. end
  218. function remove(n)
  219. ui.removeTextArea(0,n)
  220. ui.removeTextArea(1,n)
  221. ui.removeTextArea(10,n)
  222. ui.removeTextArea(100,n)
  223. end
  224.  
  225. function remove2(n)
  226. ui.removeTextArea(11,n)
  227. end
  228. function eventTextAreaCallback(textArea, n, a)
  229. if a=="search" then
  230. normalLogoLocation(n)
  231. search(n)
  232. ui.removeTextArea(11,n)
  233. remove(n)
  234. ui.addPopup(2, 2, "", n, 226, 201, 349, true)
  235. ui.addTextArea(0, "", n, 131, 238, 578, 41, 0xffffff, 0xffffff, 1, true)
  236. ui.addTextArea(1, "", n, 131, 170, 578, 41, 0xffffff, 0xffffff, 1, true)
  237. elseif a=="comment1" then
  238. ui.addPopup(0, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  239. elseif a=="close" then
  240. removeAll(n)
  241. elseif a=="open" then
  242. open(n)
  243. elseif a=="comment2" then
  244. ui.addPopup(1, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  245. elseif a=="comment3" then
  246. ui.addPopup(3, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  247. elseif a=="comment4" then
  248. ui.addPopup(4, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  249. elseif a=="comment5" then
  250. ui.addPopup(5, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  251. elseif a=="comment6" then
  252. ui.addPopup(6, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  253. elseif a=="comment7" then
  254. ui.addPopup(7, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  255. elseif a=="comment8" then
  256. ui.addPopup(8, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  257. elseif a=="comment9" then
  258. ui.addPopup(9, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  259. elseif a=="comment10" then
  260. ui.addPopup(10, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  261. elseif a=="comment11" then
  262. ui.addPopup(11, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  263. elseif a=="comment12" then
  264. ui.addPopup(12, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  265. elseif a=="comment13" then
  266. ui.addPopup(13, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  267. elseif a=="comment14" then
  268. ui.addPopup(14, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  269. elseif a=="comment15" then
  270. ui.addPopup(15, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  271. elseif a=="comment16" then
  272. ui.addPopup(16, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  273. elseif a=="comment17" then
  274. ui.addPopup(17, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  275. elseif a=="comment18" then
  276. ui.addPopup(18, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  277. elseif a=="comment19" then
  278. ui.addPopup(19, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  279. elseif a=="comment20" then
  280. ui.addPopup(20, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  281. elseif a=="comment21" then
  282. ui.addPopup(21, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  283. elseif a=="comment22" then
  284. ui.addPopup(22, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  285. elseif a=="comment23" then
  286. ui.addPopup(23, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  287. elseif a=="comment24" then
  288. ui.addPopup(24, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  289. elseif a=="comment25" then
  290. ui.addPopup(25, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  291. elseif a=="comment26" then
  292. ui.addPopup(26, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  293. elseif a=="comment27" then
  294. ui.addPopup(27, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  295.  
  296. end
  297. end
  298.  
  299. function searchNotFound(n)
  300. ui.addTextArea(11, "<font size='20'><b><font face='calibri'><font color='#505050'>Search not found...", n, 558, 50, 221, 251, 0xffffff, 0xd4d4d4, 1, true)
  301. end
  302.  
  303. function barrel(n)
  304. if data[n].b==true then
  305. data[n].barrelRoll=data[n].barrelRoll-1
  306. remove2(n)
  307. ui.removeTextArea(17,n)
  308. ui.removeTextArea(16,n)
  309. if data[n].barrelRoll==4 then
  310. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 487, 164, 48, 58, 0xffffff, 0xffffff, 0, true)
  311. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 436, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  312. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 381, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  313. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 317, 164, 64, 81, 0xffffff, 0xffffff, 0, true)
  314. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 262, 164, 75, 80, 0xffffff, 0xffffff, 0, true)
  315. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 225, 164, 68, 88, 0xffffff, 0xffffff, 0, true)
  316.  
  317. end
  318. if data[n].barrelRoll==3 then
  319. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 487, 92, 48, 58, 0xffffff, 0xffffff, 0, true)
  320. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 436, 126, 44, 60, 0xffffff, 0xffffff, 0, true)
  321. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 381, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  322. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 317, 200, 64, 81, 0xffffff, 0xffffff, 0, true)
  323. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 262, 239, 75, 80, 0xffffff, 0xffffff, 0, true)
  324. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 225, 265, 68, 88, 0xffffff, 0xffffff, 0, true)
  325.  
  326. end
  327. if data[n].barrelRoll==6 then
  328. for i=1,6 do
  329. ui.removeTextArea(i,n)
  330. end
  331.  
  332. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, 361, 23, 36, 361, 0xffffff, 0xffffff, 0, true)
  333.  
  334. end
  335. if data[n].barrelRoll==-1 then
  336. for i=1,6 do
  337. ui.removeTextArea(i,n)
  338. end
  339. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 213, 162, 48, 58, 0xffffff, 0xffffff, 0, true)
  340. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 277, 162, 44, 59, 0xffffff, 0xffffff, 0, true)
  341. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 330, 162, 44, 60, 0xffffff, 0xffffff, 0, true)
  342. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 376, 162, 64, 81, 0xffffff, 0xffffff, 0, true)
  343. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 435, 162, 72, 80, 0xffffff, 0xffffff, 0, true)
  344. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 489, 162, 74, 88, 0xffffff, 0xffffff, 0, true)
  345. end
  346. if data[n].barrelRoll==0 then
  347. for i=1,6 do
  348. ui.removeTextArea(i,n)
  349. end
  350.  
  351. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 213, 88, 48, 58, 0xffffff, 0xffffff, 0, true)
  352. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 277, 128, 44, 59, 0xffffff, 0xffffff, 0, true)
  353. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 330, 162, 44, 60, 0xffffff, 0xffffff, 0, true)
  354. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 375, 198, 64, 81, 0xffffff, 0xffffff, 0, true)
  355. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 435, 239, 72, 80, 0xffffff, 0xffffff, 0, true)
  356. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 489, 266, 74, 88, 0xffffff, 0xffffff, 0, true)
  357.  
  358. end
  359. if data[n].barrelRoll==5 then
  360. for i=1,6 do
  361. ui.removeTextArea(i,n)
  362. end
  363.  
  364. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 213, 88, 48, 58, 0xffffff, 0xffffff, 0, true)
  365. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 277, 128, 44, 59, 0xffffff, 0xffffff, 0, true)
  366. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 330, 162, 44, 60, 0xffffff, 0xffffff, 0, true)
  367. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 375, 198, 64, 81, 0xffffff, 0xffffff, 0, true)
  368. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 435, 239, 72, 80, 0xffffff, 0xffffff, 0, true)
  369. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 489, 266, 74, 88, 0xffffff, 0xffffff, 0, true)
  370. end
  371. if data[n].barrelRoll==1 then
  372. for i=1,6 do
  373. ui.removeTextArea(i,n)
  374. end
  375.  
  376. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, 361, 23, 36, 361, 0xffffff, 0xffffff, 0, true)
  377.  
  378. end
  379. if data[n].barrelRoll==8 then
  380. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 487, 164, 48, 58, 0xffffff, 0xffffff, 0, true)
  381. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 436, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  382. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 381, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  383. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 317, 164, 64, 81, 0xffffff, 0xffffff, 0, true)
  384. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 262, 164, 75, 80, 0xffffff, 0xffffff, 0, true)
  385. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 225, 164, 68, 88, 0xffffff, 0xffffff, 0, true)
  386.  
  387. end
  388. if data[n].barrelRoll==7 then
  389. ui.addTextArea(1, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'>G", n, 487, 92, 48, 58, 0xffffff, 0xffffff, 0, true)
  390. ui.addTextArea(2, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>o", n, 436, 126, 44, 60, 0xffffff, 0xffffff, 0, true)
  391. ui.addTextArea(3, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ffa600'>o", n, 381, 164, 44, 60, 0xffffff, 0xffffff, 0, true)
  392. ui.addTextArea(4, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#5284d4'>g", n, 317, 200, 64, 81, 0xffffff, 0xffffff, 0, true)
  393. ui.addTextArea(5, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#3fbf28'>l", n, 262, 239, 75, 80, 0xffffff, 0xffffff, 0, true)
  394. ui.addTextArea(6, "<p align='center'><font color='#5284d4'><font size='50'><font face='helvetica'><font color='#ff0026'>e", n, 225, 265, 68, 88, 0xffffff, 0xffffff, 0, true)
  395.  
  396. end
  397. if data[n].barrelRoll==-4 then
  398. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  399.  
  400. ui.addTextArea(17, "<p align='center'><font color='#5284d4'><font size='70'><font face='helvetica'>G<font color='#ff0026'>o<font color='#ffa600'>o<font color='#5284d4'>g<font color='#3fbf28'>l<font color='#ff0026'>e", n, 180, 28, 440, 133, 0xffffff, 0xffffff, 1, true)
  401. ui.addTextArea(99, "<p align='center'><b><font size='10'><a href='event:close'>X", n, 773, 370, 20, 20, 0xab0000, 0xab0000, 1, true)
  402.  
  403.  
  404. data[n].b=false
  405. for i=1,6 do
  406. ui.removeTextArea(i,n)
  407. end
  408. end
  409. end
  410. end
  411.  
  412. function eventPopupAnswer(popUp,n,a)
  413.  
  414. if popUp==0 and not a:match("<") and not a:match(">") then
  415. comments1=n..": "..a.."<br>"..comments1
  416. showComments1(n)
  417. end
  418. if popUp==1 and not a:match("<") and not a:match(">") then
  419. comments2=n..": "..a.."<br>"..comments2
  420. showComments2(n)
  421. end
  422. if popUp==3 and not a:match("<") and not a:match(">") then
  423. comments3=n..": "..a.."<br>"..comments3
  424. showComments3(n)
  425. end
  426. if popUp==4 and not a:match("<") and not a:match(">") then
  427. comments4=n..": "..a.."<br>"..comments4
  428. showComments4(n)
  429. end
  430. if popUp==5 and not a:match("<") and not a:match(">") then
  431. comments5=n..": "..a.."<br>"..comments5
  432. showComments5(n)
  433. end
  434. if popUp==6 and not a:match("<") and not a:match(">") then
  435. comments6=n..": "..a.."<br>"..comments6
  436. showComments6(n)
  437. end
  438. if popUp==7 and not a:match("<") and not a:match(">") then
  439. comments7=n..": "..a.."<br>"..comments7
  440. showComments7(n)
  441. end
  442. if popUp==8 and not a:match("<") and not a:match(">") then
  443. comments8=n..": "..a.."<br>"..comments8
  444. showComments8(n)
  445. end
  446. if popUp==9 and not a:match("<") and not a:match(">") then
  447. comments9=n..": "..a.."<br>"..comments9
  448. showComments9(n)
  449. end
  450. if popUp==10 and not a:match("<") and not a:match(">") then
  451. comments10=n..": "..a.."<br>"..comments10
  452. showComments10(n)
  453. end
  454. if popUp==11 and not a:match("<") and not a:match(">") then
  455. comments11=n..": "..a.."<br>"..comments11
  456. showComments11(n)
  457. end
  458. if popUp==12 and not a:match("<") and not a:match(">") then
  459. comments12=n..": "..a.."<br>"..comments12
  460. showComments12(n)
  461. end
  462. if popUp==13 and not a:match("<") and not a:match(">") then
  463. comments13=n..": "..a.."<br>"..comments13
  464. showComments13(n)
  465. end
  466. if popUp==14 and not a:match("<") and not a:match(">") then
  467. comments14=n..": "..a.."<br>"..comments14
  468. showComments14(n)
  469. end
  470. if popUp==15 and not a:match("<") and not a:match(">") then
  471. comments15=n..": "..a.."<br>"..comments15
  472. showComments15(n)
  473. end
  474. if popUp==16 and not a:match("<") and not a:match(">") then
  475. comments16=n..": "..a.."<br>"..comments16
  476. showComments16(n)
  477. end
  478. if popUp==17 and not a:match("<") and not a:match(">") then
  479. comments17=n..": "..a.."<br>"..comments17
  480. showComments17(n)
  481. end
  482. if popUp==18 and not a:match("<") and not a:match(">") then
  483. comments18=n..": "..a.."<br>"..comments18
  484. showComments18(n)
  485. end
  486. if popUp==19 and not a:match("<") and not a:match(">") then
  487. comments19=n..": "..a.."<br>"..comments19
  488. showComments19(n)
  489. end
  490. if popUp==20 and not a:match("<") and not a:match(">") then
  491. comments20=n..": "..a.."<br>"..comments20
  492. showComments20(n)
  493. end
  494. if popUp==21 and not a:match("<") and not a:match(">") then
  495. comments21=n..": "..a.."<br>"..comments21
  496. showComments21(n)
  497. end
  498. if popUp==22 and not a:match("<") and not a:match(">") then
  499. comments22=n..": "..a.."<br>"..comments22
  500. showComments22(n)
  501. end
  502. if popUp==23 and not a:match("<") and not a:match(">") then
  503. comments23=n..": "..a.."<br>"..comments23
  504. showComments23(n)
  505. end
  506. if popUp==24 and not a:match("<") and not a:match(">") then
  507. comments24=n..": "..a.."<br>"..comments24
  508. showComments24(n)
  509. end
  510. if popUp==25 and not a:match("<") and not a:match(">") then
  511. comments25=n..": "..a.."<br>"..comments25
  512. showComments25(n)
  513. end
  514. if popUp==26 and not a:match("<") and not a:match(">") then
  515. comments26=n..": "..a.."<br>"..comments26
  516. showComments26(n)
  517. end
  518. if popUp==2 then
  519. moveGoogleLogo(n)
  520. searchNotFound(n)
  521. remove(n)
  522. a=a:lower()
  523. --
  524. if a:match("tfm") or a:match("transformic") then
  525. showComments1(n)
  526. remove2(n)
  527. transformice(n)
  528. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  529.  
  530. end
  531. if a:match("pokemon") or a:match("pokémon") then
  532. showComments2(n)
  533. remove2(n)
  534. pokemon(n)
  535. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  536. end
  537. if a:find("google") then
  538. showComments3(n)
  539. remove2(n)
  540. google(n)
  541. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  542. end
  543. if (a:find("mice") or a:match("mouse")) and not (a:find("transformice")) then
  544. showComments4(n)
  545. remove2(n)
  546. mouse(n)
  547. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  548.  
  549. end
  550. if a:find("801") or a:match("village") then
  551. showComments5(n)
  552. remove2(n)
  553. village(n)
  554. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  555.  
  556. end
  557. if a:find("computer") then
  558. showComments6(n)
  559. remove2(n)
  560. computer(n)
  561. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  562. end
  563. if a:find("cafe") or a:match("café") then
  564. showComments7(n)
  565. remove2(n)
  566. cafe(n)
  567. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  568. end
  569. if a:find("fuzzy") then
  570. showComments8(n)
  571. remove2(n)
  572. fuzzy(n)
  573. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  574. end
  575. if a:find("news") then
  576. showComments9(n)
  577. remove2(n)
  578. news(n)
  579. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  580. end
  581. if a:find("world c") or a:find("wc") or a:find("worldc") then
  582. showComments10(n)
  583. remove2(n)
  584. worldcup(n)
  585. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  586. end
  587. if a:find("cake") then
  588. showComments11(n)
  589. remove2(n)
  590. cake(n)
  591. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  592. end
  593. if a:find("cheese") then
  594. showComments12(n)
  595. remove2(n)
  596. cheese(n)
  597. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  598. end
  599. if a:find("feces") or a:find("poop") or a:find("manure") then
  600. showComments13(n)
  601. remove2(n)
  602. feces(n)
  603. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  604. end
  605. if a:find("flower") then
  606. showComments14(n)
  607. remove2(n)
  608. flower(n)
  609. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  610. end
  611. if a:find("shama") then
  612. showComments15(n)
  613. remove2(n)
  614. shaman(n)
  615. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  616. end
  617. if a:find("noob") or a:find("lixo") then
  618. showComments16(n)
  619. remove2(n)
  620. noob(n)
  621. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  622. end
  623. if a:find("human") or a:find("sapien") or a:find("person") then
  624. showComments17(n)
  625. remove2(n)
  626. human(n)
  627. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  628. end
  629. if a:find("scienc") then
  630. showComments18(n)
  631. remove2(n)
  632. science(n)
  633. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  634. end
  635. if a:find("lol") or (a:find("lo") and a:find("ol")) then
  636. showComments19(n)
  637. remove2(n)
  638. lol(n)
  639. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  640. end
  641. if a:find("lolipop") or (a:find("lol") and a:find("op")) then
  642. showComments20(n)
  643. remove2(n)
  644. lollipop(n)
  645. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  646. end
  647. if a:find("barrel") then
  648. data[n].b=true
  649. data[n].barrelRoll=9
  650. data[n].times=-1
  651. end
  652. if (a:find("youtube") or a:find("yt")) or (a:find("yo") and a:find("ube")) then
  653. showComments21(n)
  654. remove2(n)
  655. youtube(n)
  656. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  657.  
  658. end
  659. --
  660. searchDown(n)
  661. end
  662. ui.addTextArea(99, "<p align='center'><b><font size='10'><a href='event:close'>X", n, 773, 370, 20, 20, 0xab0000, 0xab0000, 1, true)
  663.  
  664.  
  665. end
  666.  
  667.  
  668.  
  669. function eventLoop()
  670. for n in next, tfm.get.room.playerList do
  671. barrel(n)
  672. end
  673. end
  674. ui.addTextArea(99, "<p align='center'><b><font size='10'><a href='event:close'>X", nil, 773, 370, 20, 20, 0xab0000, 0xab0000, 1, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement