<div class="login-terminal">
<h2>CLASSIFIED: WILDERNESS OF MIRRORS :: CONTROL Access Request Form<span class="blink-cursor"></span></h2>
<p class="clearance">SECURITY CLEARANCE REQUIRED</p>
<<textbox "$playerFirstName" "">> First Name* (Required)
<<textbox "$playerLastName" "">> Last Name (Optional)
<<textbox "$playerEmail" "">> Valid Email* (Required)
<<textbox "$playerPhone" "">> Mobile Phone* (Required - Format: +1XXXXXXXXXX)
<h3>OPSEC - TERMS OF SERVICE<span class="blink-cursor"></span></h3>
<div class="tos-scroll">
1. By opting-in, you agree to receive messages directly related to the gameplay of the Wilderness Of Mirrors espionage roleplay game. You will receive instructions, missions, intelligence, images, audio and video briefings from "CONTROL"
2. You can cancel the SMS service at any time. Just text "STOP" to the short code. After you send the SMS message "STOP" to us, we will send you an SMS message to confirm that you have been unsubscribed. After this, you will no longer receive SMS messages from us. If you want to join again, just sign up as you did the first time and we will start sending SMS messages to you again.
3. If you are experiencing issues with the messaging program you can reply with the keyword HELP for more assistance, or you can get help directly at {support email address or toll-free number}.
4. Carriers are not liable for delayed or undelivered messages
5. As always, message and data rates may apply for any messages sent to you from us and to us from you. You will receive {message frequency}. If you have any questions about your text plan or data plan, it is best to contact your wireless provider.
6. If you have any questions regarding privacy, please read our privacy policy below.
</div>
<h3>OPSEC - Privacy Policy<span class="blink-cursor"></span></h3>
<div class="privacy-scroll">
<h2>What happens to your data</h2>
<ul>
<li>Your phone number will receive mission-critical SMS/MMS/voice messages via Twilio</li>
<li>Your email may receive intelligence briefings and game updates</li>
<li>Data stored securely for playtest duration only</li>
<li>You can text STOP to opt-out anytime</li>
<li>All playtest data deleted within 30 days of playtest conclusion</li>
<li>Your data will NOT be shared with third parties (except Twilio for message delivery)</li>
</ul>
</div>
<<checkbox "$agreedToTerms" false true>> I agree to the Terms of Service and Privacy Policy*
<<button "Establish Secure Connection">>
<<if $playerFirstName and $playerEmail and $playerPhone and $agreedToTerms>>
<<run registerPlayer()>>
<<else>>
<<replace "#error">>Please complete all required fields and agree to terms.<</replace>>
<</if>>
<</button>>
<span id="error"></span>
</div>
<<script>>
window.registerPlayer = function() {
const playerData = {
firstName: State.variables.playerFirstName,
lastName: State.variables.playerLastName || '',
email: State.variables.playerEmail,
phone: State.variables.playerPhone,
timestamp: new Date().toISOString(),
consentGiven: State.variables.agreedToTerms
};
// Send to Make.com webhook
fetch('https://hook.us1.make.com/YOUR_WEBHOOK_URL', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(playerData)
})
.then(response => response.json())
.then(data => {
State.variables.registrationComplete = true;
Engine.play('RegistrationSuccess'); // Navigate to success passage
})
.catch(error => {
$('#error').html('Connection to CONTROL failed. Please try again.');
console.error('Error:', error);
});
};
<</script>>