
if (isnil "ronunce") then {ronunce = true; passcheck = true;};
if (passcheck) then {
PasswordCorrect = false;
titleText ["Please Enter In The Correct Password.","PLAIN DOWN"]; titlefadeout 4;
hint "Please Enter In The Correct Password.";
Passwordd =
{
[] spawn {
sleep 2;
disableSerialization;
closedialog 0;
createDialog "RscDisplayPassword";
disableSerialization;
password =
{
_command = ctrlText 101;
if (_command == "YOUR MENU PASSWORD WOULD GO HERE") then {hint "Password correct!"; PasswordCorrect = true; passcheck = false;} else {hint "Password incorrect!"; call Passwordd;};
};
_display = findDisplay 64;
_passwordbox = _display displayctrl 101;
_okbutton = _display displayctrl 1;
_okbutton buttonSetAction "call password";};
};
call Passwordd;
};
WaitUntil {PasswordCorrect};
