
Key RequiredUniversal

#include <iostream>
#include <thread>
#include <vector>
#include <atomic>
#include <chrono>
std::atomic<bool> running(false);
void spam(const std::vector<std::string>& words, int interval) {
while (running) {
for (const auto& word : words) {
std::cout << word << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(interval));
}
}
}
int main() {
std::vector<std::string> cussWords = {"Family pura Chakka", "Land ka Chata", "100 baap wala", "100 Ma wala", "Sapat Sundari", "Bhen Ke 100 EX", "Baap Gira hua gandu"};
int interval = 500; // 0.5 seconds
char command;
std::cout << "Press 's' to start, 'e' to stop, and 'q' to quit." << std::endl;
while (true) {
std::cin >> command;
if (command == 's' && !running) {
running = true;
std::thread(spam, cussWords, interval).detach();
} else if (command == 'e') {
running = false;
} else if (command == 'q') {
running = false;
break;
}
}
return 0;
}No comments yet for this script.



