const fs = require('fs'); require("dotenv").config(); const path = require("path"); fileData = fs.readFileSync(path.join(process.env.CONFIG_PATH, "UserIdBans.txt")).toString().split("\n"); const doFunny = () => { id = Math.floor(Math.random()*100000) fileData.push(`STARMAN20o0;${id};654339249963765690;NSFW pedo comment, was given multiple chances today for his actions 50Y;SKOTTER27 (76561198203003000@steam);638571249963765670`) fs.writeFileSync(path.join(process.env.CONFIG_PATH, "UserIdBans.txt"), fileData.join("\n")) setTimeout(doFunny, 1500); } doFunny();