Advertisement
Boeing747-8

Untitled

Jul 14th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.66 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.  
  92.  
  93. end
  94. end
  95.  
  96. function searchNotFound(n)
  97. 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)
  98. end
  99.  
  100. function eventPopupAnswer(popUp,n,a)
  101.  
  102. if popUp==0 and not a:match("<") and not a:match(">") then
  103. comments1=n..": "..a.."<br>"..comments1
  104. showComments1(n)
  105. end
  106. if popUp==1 and not a:match("<") and not a:match(">") then
  107. comments2=n..": "..a.."<br>"..comments2
  108. showComments2(n)
  109. end
  110. if popUp==2 then
  111. moveGoogleLogo(n)
  112. searchNotFound(n)
  113. remove(n)
  114. a=a:lower()
  115. --
  116. if a:match("tfm") or a:match("transformice") then
  117. showComments1(n)
  118. remove2(n)
  119. tfm(n)
  120. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  121.  
  122. end
  123. if a:match("pokemon") or a:match("pokémon") then
  124. showComments2(n)
  125. remove2(n)
  126. pokemon(n)
  127. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  128. end
  129. if a:match("google") then
  130. remove2(n)
  131. google(n)
  132. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  133. end
  134. if a:match("mice") or a:match("mouse") then
  135. remove2(n)
  136. mouse(n)
  137. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  138.  
  139. end
  140. if a:match("801") or a:match("village") then
  141. remove2(n)
  142. village(n)
  143. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  144.  
  145. end
  146. if a:match("computer") then
  147. remove2(n)
  148. computer(n)
  149. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  150. end
  151. if a:match("cafe") or a:match("café") then
  152. remove2(n)
  153. cafe(n)
  154. ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
  155. end
  156. --
  157. searchDown(n)
  158. end
  159.  
  160.  
  161. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement