-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwritter.py
More file actions
39 lines (35 loc) · 2.8 KB
/
writter.py
File metadata and controls
39 lines (35 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import time
import random
import pyautogui
import keyboard
def type_text(text):
paragraphs = text.split("\n") # Split text into paragraphs
for paragraph in paragraphs:
lines = paragraph.split(".") # Split each paragraph into lines based on period only
for line in lines:
if keyboard.is_pressed('esc'): # Check if the Esc key is pressed
print("Program aborted.")
return
if line: # Only type if line is not empty
line = line.strip() # Remove extra whitespace
if line: # Check again after stripping
pyautogui.typewrite(line + ".", interval=0.2) # Add period
if random.randint(1, 4) == 1:
print("Taking a break ")
time.sleep(7)
else:
time.sleep(random.uniform(1, 1))
pyautogui.typewrite("\n") # Move to the next line after each paragraph
text_to_type = """The message vanished from the interface like it had never existed.
Level 6 was technically off-grid, decommissioned decades ago after a chemical leak no one ever bothered to clean up. It wasn’t on any of the maps anymore. Just a forgotten space buried beneath the tower. No cameras. No scans. Nothing but rats and rusted-out equipment. Dangerous, sure, but I didn’t hesitate.
After clocking out and returning to my cube, I didn’t sleep. I waited. Every night, the system that monitored door states ran a brief power cycle, a small maintenance window that left a gap in surveillance. That was my opening. When it cycled, I slipped out.
I wasn’t worried about cameras. Not anymore. I made myself invisible to them.
I opened the door to the old fire chute, a narrow stairwell no one used anymore, and stepped into the dark. At Level 6, the door opened without resistance. That door was supposed to be sealed. It wasn’t.
Each floor followed roughly the same layout, and I knew the mechanical rooms were always to the left of the stairwell. I moved fast, not, wanting to find out what kind of chemicals still remained from the spill. It had been a long time since I ran, but muscle memory kicked in.
The waste duct was right where it should be, its access door barely hanging open. I ducked inside and crawled through the tunnel. Eventually, the tight tunnel widened enough for me to stand. I paused.
The silence here was different. Heavy. Real. My footsteps echoed like I was the only living thing left down here.
After a few minutes of walking, I found the hatch marked 4C. I pulled it open and stepped through. The corridor beyond glowed with a faint, pulsing red light—emergency systems still running, somehow. It felt like the heartbeat of something forgotten.
I stepped forward.
"""
time.sleep(5) # Wait for 10 seconds
type_text(text_to_type)