Apps Home
|
Create an App
Memnoch7891
Author:
memnoch7891
Description
Source Code
Launch App
Current Users
Created by:
Memnoch7891
var Application = { Name: "Multigoal", // The name of the application Version: 1, // The current version of the application Author: "nymphohoney", // The author of this version. Don't change this unless you modified something! OriginalAuthor: "mx2k6", // The original author - if you change this, you're a cunt. It's not like it gets displayed anywhere Debug: false, // Whether the application is in debug (verbose) mode. Don't change this in prod, or you're a retard StartupTime: null, // The time the application started up. Don't set this, it gets set at runtime Constants: { Goals: 10 // The number of goals to permit configuration of in the startup settings window - add to UserConstants below to override per user }, }; var Message = { //noticeModérateur: function (str) { // this.messageGenerique(str, Colours.Blue, null, cb.room_slug, Groups.Moderators); //}, //messageErreur: function (str, recipient, group) { // this.messageGenerique(str, Colours.Red, null, recipient, group); //}, //messageAlerte: function (str, recipient, group) { // this.messageGenerique(str, Colours.Orange, null, recipient, group); //}, //messageSucces: function (str, recipient, group) { // this.messageGenerique(str, Colours.DarkGreen, null, recipient, group); //}, //messageInfo: function (str, recipient, group) { // this.messageGenerique(str, Colours.Black, null, recipient, group); //}, messageGenerique: function (str, colour, background, recipient, group) { if (!isUndefined(recipient) && !isUndefined(group)) { cb.sendNotice(str, null, background, colour, 'bold', group); cb.sendNotice(str, recipient, background, colour, 'bold', null); } if (!isUndefined(recipient) && isUndefined(group)) cb.sendNotice(str, recipient, background, colour, 'bold', null); if (isUndefined(recipient) && !isUndefined(group)) cb.sendNotice(str, null, background, colour, 'bold', group); if (isUndefined(recipient) && isUndefined(group)) cb.sendNotice(str, null, background, colour, 'bold', null); }, }; cb.onDrawPanel(function () { cb.sendNotice("draw panel", null, "#000000", "#F0F8FF", 'bold', null); }); if (!Application.Debug) { cb.sendNotice("pas en mode debug", null, "#000000", "#F0F8FF", 'bold', null); // Message.messageGenerique("Message", "#F0F8FF", "#000000", null, null) // } else { // Message.messageGenerique("Application Error!") // This {0} version is a DEBUG build and can only be run by {1}. Startup //aborted!".format(Application.Name, Application.Author)); }else{ cb.sendNotice("mode debug", null, "#000000", "#F0F8FF", 'bold', null); }
© Copyright Chaturbate 2011- 2025. All Rights Reserved.