BLOCKLY18

wikrosoft binbows

Sep 11th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.76 KB | None | 0 0
  1. function pick(){
  2. document.getElementById('content').innerHTML = "<br><br>You got a troll!<br><img src='/c/files/images/icons/troll.png'>";
  3. };
  4. function realmsend(){
  5. var txt = document.getElementById('text').value;document.getElementById('text').value = "";
  6. if (place == 1){
  7. if (txt == "new") {
  8. document.getElementById('2').innerHTML = document.getElementById('2').innerHTML + "<br><span style='color:#babb00;'>Please enter your desired name.</span>";
  9. var place = 2;
  10. } else {
  11. document.getElementById('2').innerHTML = document.getElementById('2').innerHTML + "<br><span style='color:#babb00;'>Please enter your desired name.</span>";
  12. var place = 2;
  13. };
  14. };
  15. if (place == 2){
  16. document.getElementById('2').innerHTML = document.getElementById('2').innerHTML + "<br><span style='color:#bb0000;'>Sorry, the name '</span>" + txt + "<span style='color:#bb0000;'>' has already been taken.</span><br><span style='color:#feff55;'>Please enter your desired name.</span>";
  17. };
  18.  
  19. };
  20. function note(){
  21. $window.current.destroy();$exe('textarea');setTimeout(function(){
  22. $window.current.maximize();
  23. $window.current.changeTitle('ASCII Gallery');$window.current.changeIcon('/c/files/images/icons/90s123.png');
  24. $window.current.el.body.firstChild.value = " ========\n / O \ .\n|__________|\n _\n | |\n ______| |_\n| ________ |\n|| NOKIA ||\n||________||\n||1||2||3| |\n||4||5||6| | phones!\n||7||8||9| |\n||*||0||&num;| |\n|__________|\n\n __________\n| ______ |\n| vtech |\n| ________ |\n||HANDSET ||\n||________||\n| -- |\n|D n S |\n|[ c OFF|\n| 1 2 3|\n| 4 5 6|\n| 7 8 9|\n| * 0 &num;|\n| πŸ”Š P EQ|\n------O----|\n|__HDaudio_|\n\n __________\n| ____O___ |\n|| ||\n|| 🍎 ||\n|| ||\n|| ||\n||________|| more soon\n|_____O____|";
  25. }, 220);
  26. };
  27. parent.document.getElementById('s42_start').innerHTML = '<img width="16" heigth="16" src="c/sys/skins/w93/16/start.png"> <b>schtart</b>';
  28. le._apps.terminal.exec = function(){
  29. $window({
  30. width: 550,
  31. height: 490,
  32. url: "http://hackertyper.com",
  33. icon: "/c/sys/skins/w93/apps/terminal.png",
  34. title: "Terminal"
  35. });
  36. };
  37. le._apps.catex.exec = function(){
  38. $window({
  39. title: "Xat Ecplorer",
  40. icon: "/c/sys/skins/w93/apps/catexplorer.png",
  41. url: "/c/programs/catExplorer/ixquick/index.html",
  42. width: 710,
  43. height: 560
  44. })
  45. };
  46. le._apps.trollbox.exec = function(){
  47. $window({
  48. title: "Trollbox",
  49. center: true,
  50. html: "<center id='content'><br><br>Pick a troll from the trollbox!<br><button onclick='pick()' style='width:70;height:40;'>Pick!</button></center>",
  51. width: 310,
  52. height: 190,
  53. icon: "/c/sys/skins/w93/apps/chat.gif"
  54. });
  55. };
  56. le._apps['93realms'].exec = function(){
  57. $window({
  58. title: "93 Realms",
  59. height: 510,
  60. resizable: false,
  61. width: 510,
  62. help: "β€’._.‒‒´¯``β€’.ΒΈΒΈ.β€’ wavey :)",
  63. icon: "/c/files/images/icons/wizard.png",
  64. html: "<head><style>.body {background:#272822;width:100%;height:100%;color:#fff;}</style></head><body><div id='1' class='body'><div style='padding: 4px;width:100%;height:100%;' id='2'>Telnet connected.<br><span style='color:#ff5555'>Welcome to 94 Realms.</span><br><br><span style='color:darkturquoise'>There are currently 0 players online.</span><br>Please type 'new' in the box below.</div></div></body>",
  65. footer: "<div style='height:50px;width:100%;'><input type='text' style='height:100%;width:88%;' id='text'><button style='width:11%;height:100%;' onclick='realmsend()'><span style='margin:10px;'>Send</span></button></div>"
  66. });var place = 1;
  67. };
  68. le._apps.ansi.exec = function(){
  69. $window({
  70. title: "AnsiLove",
  71. icon: "/c/sys/skins/w93/apps/imgviewer.png",
  72. width: 655,
  73. height: 375,
  74. help: "Help text",
  75. html: "<div id='body' style='width: 100%;height:100%;background:#000;color:#fff;'></div>",
  76. menu: [
  77. {
  78. name: "Opfile",
  79. items: [
  80. {
  81. name: "Load",
  82. action: function(){
  83. document.getElementById('body').innerHTML = "<center><br><br><br><br>N</center>";
  84. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Ne</center>";}, 100);
  85. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Nev</center>";}, 200);
  86. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Neve</center>";}, 300);
  87. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never</center>";}, 400);
  88. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never g</center>";}, 500);
  89. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gon</center>";}, 600);
  90. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonn</center>";}, 690);
  91. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna</center>";}, 770);
  92. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna g</center>";}, 840);
  93. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna gi</center>";}, 900);
  94. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna giv</center>";}, 950);
  95. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give</center>";}, 990);
  96. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give y</center>";}, 1030);
  97. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give yo</center>";}, 1060);
  98. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you</center>";}, 1080);
  99. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you u</center>";}, 1090);
  100. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you up</center>";}, 1099);
  101. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you up<br>Never gonna let you down</center>";}, 2500);
  102. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you up<br>Never gonna let you down<br>Never gonna run around</center>";}, 3750);
  103. setTimeout(function(){document.getElementById('body').innerHTML = "<center><br><br><br><br>Never gonna give you up<br>Never gonna let you down<br>Never gonna run around<br>Or rickroll you :)</center>";}, 5000);
  104.  
  105. }
  106. },
  107. {name:"---"},
  108. {
  109. name: "Close",
  110. action: function(){$window.current.close()}
  111. }
  112. ]
  113. },
  114. {
  115. name: "Foptions",
  116. items: [
  117. {
  118. name: "Previous",
  119. action: function(){$alert.error('random error just to annoy you')}
  120. },
  121. {
  122. name: "Next",
  123. action: function(){$alert.error('random error just to annoy you')}
  124. },
  125. {
  126. name: "Fullscreen",
  127. action: function(){$window.current.fullscreen();}
  128. },
  129. {name:"---"},
  130. {name:"Help",action:function(){$alert.info('ansy luv')}}
  131. ]
  132. }
  133. ]
  134. })
  135. };
  136. le._apps.ascii.exec = function(){
  137. $window({
  138. maximizable: false,
  139. automaximize: true,
  140. help: "you got gnomed if youre reading this",
  141. title: "ASCII Gallery",
  142. icon: "/c/files/images/icons/90s123.png",
  143. html: "<button onclick='note()'>Click me!</button>"
  144. });
  145. };
  146. le._apps.midi.exec = function(){
  147. $window({
  148. icon: "/c/sys/skins/w93/apps/midiPlayer.png",
  149. title: "Midi Jukebox",
  150. width: 806,
  151. height: 500,
  152. html: "<head><style>.top {width:100%;height:30px;background:#000;color:#c3ff00;} .top:hover {cursor:not-allowed;background:red;}</style></head><body><div class='top'><div style='padding: 7px;'>Choose a song.</div></div></body>"
  153. });
  154. };
  155. le._apps.potato.exec = function(){
  156. $window({
  157. title: "POTATO",
  158. icon: "/c/files/images/icons/potato.png",
  159. width: 560,
  160. height: 315,
  161. url: "https://www.youtube.com/embed/q7uyKYeGPdE"
  162. })
  163. };
  164. le._apps.recorder.exec = function(){
  165.  
  166. };
  167. le._apps.piskel.exec = function(){
  168.  
  169. };
  170.  
Add Comment
Please, Sign In to add comment