<commit_before>if (not isserver) exitwith {};

waituntil {not isnil "BIS_Zora_pause"};
while {true} do {
	if ((1 > random 0.2) && (daytime < 5 || daytime > 18)) then {
		BIS_Zora_pause = true;
	} else {
		BIS_Zora_pause = not BIS_Zora_pause;
	};
	if (playersnumber west > 0) then {
		BIS_Zora_mainscope setvariable ["maxgroups",round (((8+random 4) / (playersnumber west)) min 5) max 1];
	};
	sleep (random 7200);
};<commit_msg>Didn't understand the random statement, so changed to 1/2 chance. Added hint for single player testing.<commit_after>if (not isserver) exitwith {};

waituntil {not isnil "BIS_Zora_pause"};
while {true} do {
	if ((1 > ceil(random 2)) && (daytime < 5 || daytime > 18)) then {
		BIS_Zora_pause = true;
	} else {
		BIS_Zora_pause = not BIS_Zora_pause;
	};
	if (playersnumber west > 0) then {
		BIS_Zora_mainscope setvariable ["maxgroups",round (((8+random 4) / (playersnumber west)) min 5) max 1];
	};
	
	hint format["ZORA Pause: %1\nMaxGroups: %2", BIS_Zora_pause, BIS_Zora_mainscope getvariable "maxgroups"];
	sleep (random 7200);
};
{'fraction_non_alphanumeric': 0.14353163361661944, 'fraction_numerical': 0.031161473087818695, 'mean_word_length': 4.72972972972973, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7344026', 'n_tokens_mistral': 435, 'n_tokens_neox': 395, 'n_words': 114}