const fs = require('fs'); const array = fs.readFileSync('instructions.txt').toString().split("\n"); const msg = Math.floor(Math.random()*array.length); console.log( "\x1b[7m", 'Obscure Instruction:'); console.log(array[msg]);