write out a new file with HTML colorationįor (ListIterator iter = lines.listIterator() iter.hasNext() ) Output.write(System.getProperty("parator") + "\t FAQs") Output.write(System.getProperty("parator") + "\t Captures") Output.write(System.getProperty("parator") + "\t Facebook") Output.write(System.getProperty("parator") + "\t Quest Walkthroughs") Output.write(System.getProperty("parator") + "\t Downloads") Output.write(System.getProperty("parator") + "\t Home") Output.write(System.getProperty("parator") + "") Output.write(System.getProperty("parator") + "\t"+ System.getProperty("parator") + System.getProperty("parator")) Output.write(System.getProperty("parator") + "\t\tEsoteric Edits BBS - Conversation Log") Output.write(System.getProperty("parator") + "\t\t") Output.write(System.getProperty("parator") + "\t") initialize the output file with HTML header Lines.add(month + "/" + day + line.substring(5)) || ntains("For a list of available commands, you can telepath me with the dates american style || ntains("Syss gossips: Bring a friend, help keep mud alive!") Try telepathing me with ntains("Syss gossips: Remember, you can telepath me for useful things like adding lives.") || ntains("Syss gossips: || ntains("telepaths: ntains("I'm a bot. || ntains("Syss gossips: MME Dats, Megamud path files and quest walkthroughs are available at my site") || ntains("Syss gossips: Discuss new ideas/issues & see the most up to date information on Facebook!") || ntains("For custom MegaMud paths and additional information, check out the website:") || ntains("Hurry, I've many esoteric secrets to divulge, and welcome to BaDbOy's realm.") If (!(ntains("just hung up!!!") || ntains("just left the Realm.") Remove some unnecessary clutter from the log
While ((line = reader.readLine()) != null)
If (currentLoopModified > lastLoopModified)īufferedReader reader = new BufferedReader(new FileReader("C:/Documents and Settings/Cuckoo/Desktop/Syss-convos.LOG")) įileWriter output = new FileWriter("C:/Documents and Settings/Cuckoo/Desktop/Conversations.html") Public static void main(String args) throws IOException, InterruptedExceptionĬurrentLoopModified = new File("C:/Documents and Settings/Cuckoo/Desktop/Syss-convos.LOG").lastModified()