Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- comments1=""
- comments2=""
- comments3=""
- comments4=""
- comments5=""
- comments6=""
- comments7=""
- function showComments1(n)
- 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)
- end
- function showComments2(n)
- 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)
- end
- function showComments3(n)
- 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)
- end
- function showComments4(n)
- 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)
- end
- function showComments5(n)
- 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)
- end
- function showComments6(n)
- 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)
- end
- function showComments7(n)
- 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)
- end
- function cafe(n)
- 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)
- end
- function tfm(n)
- 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)
- end
- function computer(n)
- 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)
- end
- function mouse(n)
- 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)
- end
- function pokemon(n)
- 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)
- end
- function google(n)
- 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)
- end
- function village(n)
- 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)
- end
- --
- ui.addTextArea(15, "", nil, 0, 0, 800, 400, 0xffffff, 0xffffff, 1, true)
- function search(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- function searchDown(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", nil, 235, 226, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- 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)
- function moveGoogleLogo(n)
- 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)
- end
- function normalLogoLocation(n)
- 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)
- end
- function remove(n)
- ui.removeTextArea(0,n)
- ui.removeTextArea(1,n)
- ui.removeTextArea(10,n)
- ui.removeTextArea(100,n)
- end
- function remove2(n)
- ui.removeTextArea(11,n)
- end
- function eventTextAreaCallback(textArea, n, a)
- if a=="search" then
- normalLogoLocation(n)
- search(n)
- ui.removeTextArea(11,n)
- remove(n)
- ui.addPopup(2, 2, "", n, 226, 201, 349, true)
- ui.addTextArea(0, "", n, 131, 238, 578, 41, 0xffffff, 0xffffff, 1, true)
- ui.addTextArea(1, "", n, 131, 170, 578, 41, 0xffffff, 0xffffff, 1, true)
- elseif a=="comment1" then
- ui.addPopup(0, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
- elseif a=="comment2" then
- ui.addPopup(1, 2, "<p align='center'><font color='#B9B9B9'>Comment:", n, 61, 254, 200, true)
- end
- end
- function searchNotFound(n)
- 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)
- end
- function eventPopupAnswer(popUp,n,a)
- if popUp==0 and not a:match("<") and not a:match(">") then
- comments1=n..": "..a.."<br>"..comments1
- showComments1(n)
- end
- if popUp==1 and not a:match("<") and not a:match(">") then
- comments2=n..": "..a.."<br>"..comments2
- showComments2(n)
- end
- if popUp==2 then
- moveGoogleLogo(n)
- searchNotFound(n)
- remove(n)
- a=a:lower()
- --
- if a:match("tfm") or a:match("transformice") then
- showComments1(n)
- remove2(n)
- tfm(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("pokemon") or a:match("pokémon") then
- showComments2(n)
- remove2(n)
- pokemon(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("google") then
- remove2(n)
- google(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("mice") or a:match("mouse") then
- remove2(n)
- mouse(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("801") or a:match("village") then
- remove2(n)
- village(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("computer") then
- remove2(n)
- computer(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- if a:match("cafe") or a:match("café") then
- remove2(n)
- cafe(n)
- ui.addTextArea(16, "<font color='#909090'><a href='event:search'><font size='13'>Search", n, 235, 356, 330, 23, 0xf2f2f2, 0xd6d6d6, 1, true)
- end
- --
- searchDown(n)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement