Advertisement
Boeing747-8

Untitled

Jul 14th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.94 KB | None | 0 0
  1. comments1=""
  2. comments2=""
  3. comments3=""
  4. comments4=""
  5. comments5=""
  6. comments6=""
  7. comments7=""
  8. function showComments1(n)
  9. 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)
  10. end
  11. function showComments2(n)
  12. 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)
  13. end
  14. function showComments3(n)
  15. 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)
  16. end
  17. function showComments4(n)
  18. 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)
  19. end
  20. function showComments5(n)
  21. 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)
  22. end
  23. function showComments6(n)
  24. 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)
  25. end
  26. function showComments7(n)
  27. 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)
  28. end
  29. function cafe(n)
  30. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Cafe\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)
  31. end
  32. function tfm(n)
  33. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Transformice ! »\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)
  34. end
  35. function computer(n)
  36. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Computer\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)
  37. end
  38. function mouse(n)
  39. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Mice\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)
  40. end
  41. function pokemon(n)
  42. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Pokémon<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)
  43. end
  44. function google(n)
  45. ui.addTextArea(10, "<font size='20'><b><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)
  46. end
  47. function village(n)
  48. ui.addTextArea(10, "<font size='20'><b><font face='calibri'><font color='#505050'>Village/801 Room<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)
  49. end
  50. --
  51.  
  52. ui.addTextArea(15, "", nil, 0, 0, 800, 400, 0xffffff, 0xffffff, 1, true)
  53. function search(n)
  54. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  55. end
  56. function searchDown(n)
  57. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  58. end
  59. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", nil, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  60.  
  61. 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)
  62. function moveGoogleLogo(n)
  63. 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)
  64. end
  65. function normalLogoLocation(n)
  66. 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)
  67. end
  68. function remove(n)
  69. ui.removeTextArea(0,n)
  70. ui.removeTextArea(1,n)
  71. ui.removeTextArea(10,n)
  72. ui.removeTextArea(100,n)
  73. end
  74.  
  75. function remove2(n)
  76. ui.removeTextArea(11,n)
  77. end
  78. function eventTextAreaCallback(textArea, n, a)
  79. if a=="search" then
  80. normalLogoLocation(n)
  81. search(n)
  82. ui.removeTextArea(11,n)
  83. remove(n)
  84. ui.addPopup(2, 2, "", n, 226, 201, 349, true)
  85. ui.addTextArea(0, "", n, 131, 238, 578, 41, 0xffffff, 0xffffff, 1, true)
  86. ui.addTextArea(1, "", n, 131, 170, 578, 41, 0xffffff, 0xffffff, 1, true)
  87. elseif a=="comment1" then
  88. ui.addPopup(0, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  89. elseif a=="comment2" then
  90. ui.addPopup(1, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  91. elseif a=="comment3" then
  92. ui.addPopup(3, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  93. elseif a=="comment4" then
  94. ui.addPopup(4, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  95. elseif a=="comment5" then
  96. ui.addPopup(5, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  97. elseif a=="comment6" then
  98. ui.addPopup(6, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  99. elseif a=="comment7" then
  100. ui.addPopup(7, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
  101.  
  102.  
  103. end
  104. end
  105.  
  106. function searchNotFound(n)
  107. 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)
  108. end
  109.  
  110. function eventPopupAnswer(popUp,n,a)
  111.  
  112. if popUp==0 and not a:match("<") and not a:match(">") then
  113. comments1=n..": "..a.."<br>"..comments1
  114. showComments1(n)
  115. end
  116. if popUp==1 and not a:match("<") and not a:match(">") then
  117. comments2=n..": "..a.."<br>"..comments2
  118. showComments2(n)
  119. end
  120. if popUp==3 and not a:match("<") and not a:match(">") then
  121. comments3=n..": "..a.."<br>"..comments3
  122. showComments3(n)
  123. end
  124. if popUp==4 and not a:match("<") and not a:match(">") then
  125. comments4=n..": "..a.."<br>"..comments4
  126. showComments4(n)
  127. end
  128. if popUp==5 and not a:match("<") and not a:match(">") then
  129. comments5=n..": "..a.."<br>"..comments5
  130. showComments5(n)
  131. end
  132. if popUp==6 and not a:match("<") and not a:match(">") then
  133. comments6=n..": "..a.."<br>"..comments6
  134. showComments6(n)
  135. end
  136. if popUp==7 and not a:match("<") and not a:match(">") then
  137. comments7=n..": "..a.."<br>"..comments7
  138. showComments7(n)
  139. end
  140. if popUp==2 then
  141. moveGoogleLogo(n)
  142. searchNotFound(n)
  143. remove(n)
  144. a=a:lower()
  145. --
  146. if a:match("tfm") or a:match("transformice") then
  147. showComments1(n)
  148. remove2(n)
  149. tfm(n)
  150. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  151.  
  152. end
  153. if a:match("pokemon") or a:match("pokémon") then
  154. showComments2(n)
  155. remove2(n)
  156. pokemon(n)
  157. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  158. end
  159. if a:match("google") then
  160. showComments3(n)
  161. remove2(n)
  162. google(n)
  163. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  164. end
  165. if a:match("mice") or a:match("mouse") then
  166. showComments4(n)
  167. remove2(n)
  168. mouse(n)
  169. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  170.  
  171. end
  172. if a:match("801") or a:match("village") then
  173. showComments5(n)
  174. remove2(n)
  175. village(n)
  176. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  177.  
  178. end
  179. if a:match("computer") then
  180. showComments6(n)
  181. remove2(n)
  182. computer(n)
  183. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  184. end
  185. if a:match("cafe") or a:match("café") then
  186. showComments7(n)
  187. remove2(n)
  188. cafe(n)
  189. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  190. end
  191. --
  192. searchDown(n)
  193. end
  194.  
  195.  
  196. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement