<commit_before>//v1.0 as Starting Point
//v2.0 Cleaning up code. Setting up Menu Structure and Initial Settings.

var version = '2.0 Beta';
var SCBversion = '3.021'; //Last SandCastle Builder version tested

//Declare and Initialize Variables
var AudioAlertsStatus = 3;
var audio_Bell = new Audio("http://xenko.comxa.com/Ship_Bell.mp3");
	audio_Bell.volume = 1;
var audio_Chime = new Audio("http://xenko.comxa.com/Chime.mp3");
	audio_Chime.volume = 1;
var BorderAlertStatus = 1;
var description = "Error";
var i = 0;
var IdleStatus = 0;
var incoming_ONG = 0;
var Logicat = 0;
var LCAutoClickStatus = 0;
var LCSolution = 'blank';
var NinjaAutoClickStatus = 1;
var RKAutoClickStatus = 0;
var RKAlertFrequency = 8;
var Time_to_ONG = 1800000;

var start = -1;
var content = "empty";
var length = 0;
var RKLevel = '-1';
var RKLocation = 'null';
var lootBoxes = new Array();
	lootBoxes[0] = 'boosts';
	lootBoxes[1] = 'ninj';
	lootBoxes[2] = 'cyb';
	lootBoxes[3] = 'hpt';
	lootBoxes[4] = 'bean';
	lootBoxes[5] = 'chron';

//Ninja AutoClicker and Border Warnings
function Ninja() {
    if (Molpy.ninjad == 0) {
        if (Molpy.npbONG == 0 && BorderAlertStatus == 1) {
			$("#beach").css("border","4px solid red");
        }
        else {
            incoming_ONG = 0;
            if (NinjaAutoClickStatus == 1) {
                Molpy.ClickBeach();
				Molpy.Notify('Ninja Auto Click', 1);
				if (BorderAlertStatus == 1) {
					$("#beach").css("border","1px solid white");
				}
            }
            else if (BorderAlertStatus == 1) {
            $("#beach").css("border","4px solid green");
            }

        }
	}
    else if (Time_to_ONG <= 15000) {
		if (BorderAlertStatus == 1) {
			$("#beach").css("border","4px solid yellow");
		}
        if (incoming_ONG == 0 && (AudioAlertsStatus == 3 || AudioAlertsStatus == 4)) {
			audio_Chime.play();
			incoming_ONG = 1;
        }  
    }
    else if (BorderAlertStatus == 1) {
        $("#beach").css("border","1px solid white");
	}
}

function RedundaKitty() {
	//Refresh Timer Variable
	i = Molpy.redactedToggle - Molpy.redactedCountup;
	
	//If RedundaKitty is available
	if (Molpy.redactedVisible > 0) {
		//Molpy.Notify('Redacted Visible: ' + Molpy.redactedVisible, 1);
		/*
		RV of 1 is Sand Tools
		RV of 2 is Castle Tools
		RV of 3 is Boosts Main Page
		RV of 4 is Boosts Menus, Hill People Tech, etc.
		RV of 5 is Badges Earned
		RV of 6 is Badges Available
		*/
		
		//Determines RK location
		if (Molpy.redactedVisible == 1 || Molpy.redactedVisible == 2 || Molpy.redactedVisible == 3) {
			//Do Nothing
		}
		else if (Molpy.redactedVisible == 4) {
			RKLocation = 'null'
			i = 0;
			while (RKLocation = 'null' || i < 6) {
				Molpy.Notify(lootBoxes[i], 1)
				if ($('#' + lootboxes[i]).length) {
					showhideToggle(lootBoxes[i]);
					if ($('#redacteditem').length) {
						RKLocation = lootBoxes[i];
					}
					else {
						showhideToggle(lootBoxes[i]);
					}
				i++;
			}			
		}
		else if (Molpy.redactedVisible == 5) {
			RKLocation = 'badges';
		}
		else if (Molpy.redactedVisible == 6) {
			RKLocation = 'badgesav';
		}
		
		if (RKLocation != 'null' && RKLocation != '4' && !Molpy.options.showhide[RKLocation]) {
			showhideToggle(RKLocation);
		}
	
		//Determines if it is a Logicat or RK
		//if (RKLocation  != '4') {
			content = $('#redacteditem').html();<commit_msg>RK Location 4 work Syntax Fix<commit_after>//v1.0 as Starting Point
//v2.0 Cleaning up code. Setting up Menu Structure and Initial Settings.

var version = '2.0 Beta';
var SCBversion = '3.021'; //Last SandCastle Builder version tested

//Declare and Initialize Variables
var AudioAlertsStatus = 3;
var audio_Bell = new Audio("http://xenko.comxa.com/Ship_Bell.mp3");
	audio_Bell.volume = 1;
var audio_Chime = new Audio("http://xenko.comxa.com/Chime.mp3");
	audio_Chime.volume = 1;
var BorderAlertStatus = 1;
var description = "Error";
var i = 0;
var IdleStatus = 0;
var incoming_ONG = 0;
var Logicat = 0;
var LCAutoClickStatus = 0;
var LCSolution = 'blank';
var NinjaAutoClickStatus = 1;
var RKAutoClickStatus = 0;
var RKAlertFrequency = 8;
var Time_to_ONG = 1800000;

var start = -1;
var content = "empty";
var length = 0;
var RKLevel = '-1';
var RKLocation = 'null';
var lootBoxes = new Array();
	lootBoxes[0] = 'boosts';
	lootBoxes[1] = 'ninj';
	lootBoxes[2] = 'cyb';
	lootBoxes[3] = 'hpt';
	lootBoxes[4] = 'bean';
	lootBoxes[5] = 'chron';

//Ninja AutoClicker and Border Warnings
function Ninja() {
    if (Molpy.ninjad == 0) {
        if (Molpy.npbONG == 0 && BorderAlertStatus == 1) {
			$("#beach").css("border","4px solid red");
        }
        else {
            incoming_ONG = 0;
            if (NinjaAutoClickStatus == 1) {
                Molpy.ClickBeach();
				Molpy.Notify('Ninja Auto Click', 1);
				if (BorderAlertStatus == 1) {
					$("#beach").css("border","1px solid white");
				}
            }
            else if (BorderAlertStatus == 1) {
            $("#beach").css("border","4px solid green");
            }

        }
	}
    else if (Time_to_ONG <= 15000) {
		if (BorderAlertStatus == 1) {
			$("#beach").css("border","4px solid yellow");
		}
        if (incoming_ONG == 0 && (AudioAlertsStatus == 3 || AudioAlertsStatus == 4)) {
			audio_Chime.play();
			incoming_ONG = 1;
        }  
    }
    else if (BorderAlertStatus == 1) {
        $("#beach").css("border","1px solid white");
	}
}

function RedundaKitty() {
	//Refresh Timer Variable
	i = Molpy.redactedToggle - Molpy.redactedCountup;
	
	//If RedundaKitty is available
	if (Molpy.redactedVisible > 0) {
		//Molpy.Notify('Redacted Visible: ' + Molpy.redactedVisible, 1);
		/*
		RV of 1 is Sand Tools
		RV of 2 is Castle Tools
		RV of 3 is Boosts Main Page
		RV of 4 is Boosts Menus, Hill People Tech, etc.
		RV of 5 is Badges Earned
		RV of 6 is Badges Available
		*/
		
		//Determines RK location
		if (Molpy.redactedVisible == 1 || Molpy.redactedVisible == 2 || Molpy.redactedVisible == 3) {
			//Do Nothing
		}
		else if (Molpy.redactedVisible == 4) {
			RKLocation = 'null'
			i = 0;
			while (RKLocation = 'null' || i < 6) {
				Molpy.Notify(lootBoxes[i], 1)
				if ($('#' + lootboxes[i]).length) {
					showhideToggle(lootBoxes[i]);
					if ($('#redacteditem').length) {
						RKLocation = lootBoxes[i];
					}
					else {
						showhideToggle(lootBoxes[i]);
					}
				i++;
				}
			}
		}
		else if (Molpy.redactedVisible == 5) {
			RKLocation = 'badges';
		}
		else if (Molpy.redactedVisible == 6) {
			RKLocation = 'badgesav';
		}
		
		if (RKLocation != 'null' && RKLocation != '4' && !Molpy.options.showhide[RKLocation]) {
			showhideToggle(RKLocation);
		}
	
		//Determines if it is a Logicat or RK
		//if (RKLocation  != '4') {
			content = $('#redacteditem').html();
{'fraction_non_alphanumeric': 0.15307795498583993, 'fraction_numerical': 0.02489193620509763, 'mean_word_length': 2.896631823461092, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6455951', 'n_tokens_mistral': 2848, 'n_tokens_neox': 2416, 'n_words': 626}