Professional Documents
Culture Documents
//start
timedLoop(0, function() {
setText("text_area1", records[i].ch);
} });
});
//username
if (getText("text_input2") == 'OFFICIAL-inf') {
setScreen("screen2");
setText("text_input2", 'OFFICIAL-inf');
name = getText("text_input2");
} else {
if (getUserId() != 'J1YU2UnEykU6A9JJqbHupIHVdDs') {
setTimeout(function() {
setScreen("screen1");
name = getText("text_input2");
}, 100);
}
} else {
if (getText("text_input2") == '') {
setText("text_input2", 'Guest');
setScreen("screen2");
name = getText("text_input2");
} else {
if (getText("text_input2") != '') {
setScreen("screen2");
name = getText("text_input2");
} }
});
//Chat
updateRecord("ch", {id:1, ch: records[i].ch + "\n" + "[: " + name + " :] - " + getText("text_input1") },
function(record, success) {
setText("text_input1", '');
});
});
}
});
});
});
});
//clear
updateRecord("ch", {id:1, ch:"INFINITY - " + "Restarted the chat page" + "\n" + "Welcome"},
function(record, success) {
});
});
});
});
//functions
//important
timedLoop(0, function() {
setText("text_area2", records[i].stat);
setText("text_input3", getText("text_area2"));
setText("label11", "Current Status: " + getText("text_area2"));
});
});
open("https://studio.code.org/projects/applab/nyw_tfQV0nExGzfWyV8GVjqPHy4WrXQbATZ7yBwsW74
");
});
timedLoop(0, function() {
});
if (getText("text_input1") == "") {
updateRecord("ch", {id:1, ch:((records[i]).ch + ("\n" + ((dateTime + (" [: " + name)) + (" :] " +
getText("text_input1")))))}, function(record, success) {
setText("text_input1", "");
});
});
});
});
}
});
});
updateRecord("ch", {id:1, ch:("{UPDATE} [: " + name + " :]" + " restarted the chatpage." +
"\n2020/4/27 22:28:16 {ADMIN} [: dizzywig2000 :] Read the Terms that show up when you enter the
app" +"\n2020/4/29 22:19:24 [: dizzywig2000 :] You can now post your own suggestion by saying
/suggest" + "\n ***IMPORTANT*** = If you see this then please follow the terms you have agreed to, I
am willing to ban anyone who violates those terms." + "\n*VERSION* = 2.9- added 'Get User Id'.")},
function(record, success) {
});
});
setTimeout(function() {
}, 6000);
}
});
setTimeout(function() {
}, 6000);
});
if (name != 'SERVER') {
updateRecord("ch", {id:1, ch:("{ADMIN} [: " + name + " :]" + " restarted the chatpage." +
"\n2020/4/27 22:28:16 {ADMIN} [: dizzywig2000 :] Read the Terms that show up when you enter the
app" +"\n2020/4/29 22:19:24 [: dizzywig2000 :] You can now post your own suggestion by saying
/suggest" + "\n ***IMPORTANT*** = If you see this then please follow the terms you have agreed to, I
am willing to ban anyone who violates those terms." + "\n*VERSION* = 2.9- added 'Get User Id'.")},
function(record, success) {
});
updateRecord("c", {id:1, c:0}, function(record, success) {
});
setTimeout(function() {
}, 6000);
});
setTimeout(function() {
}, 6000);
});
onEvent("button8", "click", function(Event) {
setScreen("screen5");
});
setScreen("screen3");
});
setScreen("screen10");
});
});
});
setText("ADMINN", '');
setScreen("screen3");
});
timedLoop(0.1, function() {
setText("admin", records[i].adm);
});
})
setScreen("screen11");
} else {
setScreen("screen11");
});
}
});
setText("BN", getText("BNI"));
});
});
setScreen("screen3");
setText("label23", '');
setText("BNI", '');
setText("BRI", '');
});
//functions
//variables
setScreen("screen8");
timedLoop(0, function() {
setText("text_area4", terms);
});
}
});
setScreen("screen1");
});
setScreen("screen7");
});
onEvent("button4893", "click", function() {
if (getText("text_area3") != '') {
setScreen("screen3");
setText("text_area3", '');
});
} else {
});
setScreen("screen3");
setText("text_area3", '');
});
//start
});
//username
setScreen("screen2");
});
onEvent("button4", "click", function(Event) {
setScreen("screen2");
});
if (getText("text_input2").includes('Minecraft')) {
setScreen("screen3");
setText("text_input2", 'Minecraft');
} else {
if (getUserId() != 'qWtkMZIB8r8X0w0tBy54PQf05fk') {
setTimeout(function() {
setScreen("screen2");
}, 100);
if (getText("text_input2").includes('dizzywig2000')) {
if (getUserId() == 'OBiEunQAKySuCZXI4r+VKxH89pU') {
setText("text_input2", 'dizzywig2000');
setScreen("screen3");
} else {
if (getUserId() != 'OBiEunQAKySuCZXI4r+VKxH89pU') {
setTimeout(function() {
setScreen("screen2");
}, 100);
} else {
if (getText("text_input2").includes('SERVER')) {
if (getUserId() == 'OBiEunQAKySuCZXI4r+VKxH89pU') {
setText("text_input2", 'SERVER');
setScreen("screen3");
} else {
if (getUserId() != 'OBiEunQAKySuCZXI4r+VKxH89pU') {
setTimeout(function() {
setScreen("screen2");
}, 100);
} else {
if (getText("text_input2".includes('**Cat Mode**'))) {
setTimeout(function() {
setScreen("screen2");
}, 100);
} else {
CM = 0;
if (getText("text_input2") != '') {
setScreen("screen3");
} else {
if (getText("text_input2") == '') {
setText("text_input2", "Guest");
setScreen("screen3");
if (getText("text_input2") != '') {
setScreen("screen3");
} else {
if (getText("text_input2") == '') {
setText("text_input2", "Guest");
setScreen("screen3");
}});
//chat
setScreen("screen3");
if (getText("text_input1") == "") {
} else {
setText("text_input1", "");
});
}
});
});
});
timedLoop(0, function() {
setText("text_area1", (records[i]).ch);
});
});
timedLoop(1, function() {
if (CM == 1) {
} else {
if (CM == 0) {
}
}
});
} else {
if (getUserId() != 'OBiEunQAKySuCZXI4r+VKxH89pU') {
timedLoop(0, function() {
setText("text_area5", terms);
});
});
setScreen("screen3");
});
setScreen("screen9");
});
onEvent("button10", "click", function(Event) {
setScreen("screen6");
});
setText("text_area2", getText("text_input4"));
setText("text_input3", getText("text_input4"));
setText("text_input4", '');
});
});
timedLoop(0.1, function() {
setText("text_input3", getText("text_area2"));
});
setScreen("screen5");
});
//ban list
setScreen("screen4");
setText("label10", "won't stop saying this creation is botted and called other users bots");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
}
if (getUserId() === '') {
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
setScreen("screen4");
//_
var CM = 0;
//New
setScreen("screen3");
CM = 1;
});
//user id
});
//ADMIN
setScreen("screen12");
setText("Aname", getText("text_input2"));
} else {
setScreen("screen12");
setText("Aname", getText("text_input2"));
});
});
timedLoop(0, function() {
timedLoop(0, function() {
setText("text_area6", CMDS);
CMDo = CMDS;
});
});
});
setText("text_input5", 'Opening...');
setTimeout(function() {
setScreen("screen11");
setText("text_input5", '');
}, 1100);
} else {
playSound("sound://category_alerts/retro_game_alert_2.mp3");
setTimeout(function() {
setText("text_input5", '');
}, 1100);
}
});
setText("text_input5", 'Opening...');
setTimeout(function() {
setScreen("screen13");
setText("text_input5", '');
}, 1100);
updateRecord("ach", {id:1, ach:records[i].ach + "\n" + dateTime + "( - " + name + " - )- " + "Has joined
Admin Chat"}, function(record, success) {
});
}
});
//Achat
);
if (getText("text_input6") != '/Clear') {
updateRecord("ach", {id:1, ach:records[i].ach + "\n" + dateTime + "[: " + name + " :] - " +
getText("text_input6")}, function(record, success) {
setText("text_input6", '');
});
} else {
updateRecord("ach", {id:1, ach:"[: " + name + " :] - " + "Reset the chat" + "\n" + "Welcome to
Admin Chat! do '/Clear' to clear the chat and click on back to go to normal chat"}, function(record,
success) {
setText("text_input6", '');
});
});
});
timedLoop(0, function() {
setText("text_area7", records[i].ach);
});
});
setScreen("screen3");
setText("text_input6", '');
});
});
});
open("https://forms.gle/sEx4Bb7krNPZ6QA2A");
});
onEvent("image2", "click", function() {
setScreen("screen14");
});
setScreen("screen1");
});
open("https://codeprojects.org/v4I2D6J70eDof6zThHZZPLzZY9bA5wHVGVpJyM9zbOw/");
});
onEvent("button14", "click", function() {
prompt("Hello, " + getUserId() + " , We want you to know that \"Chat App CHAPTER 2\" is finally
finished and you can access it in the start page by clicking \"CHAPTER 2\"! *DEV NOTE- Chapter 2 is
currently un BETA mode*");
});
open("https://studio.code.org/projects/applab/9KIPbzr-
NxlokX9XfmV0s5TA_x7ZM_NMSmP71T2BUI0");
});
open("https://studio.code.org/projects/applab/9KIPbzr-
NxlokX9XfmV0s5TA_x7ZM_NMSmP71T2BUI0");
});
open("https://studio.code.org/projects/applab/9KIPbzr-
NxlokX9XfmV0s5TA_x7ZM_NMSmP71T2BUI0");
});