Jump to content

COH Chat Log Monitor (uses Powershell)

Recommended Posts

No one took up my challenge regarding SnakeTail, so I set out to do something myself.




Honestly, it's getting a little tough for me to read the smaller print in chat, unless I am willing to blow it up and maybe sacrifice game space or get a giant monitor. I started looking for ways to have all the stuff from chat that I was interested in to be displayed on a second monitor, along the way filtering out lines I don't care about and highlighting keywords in lines I do. I decided to share it with the community in case others find it useful, or want to add or improve functionality.




This script uses Windows Powershell to monitor a COH chat log file. The ps1 file is a text file that you can edit to your liking, at your own risk, and define things to highlight.


  • You'll need a second monitor. If you don't physically have one that you can make work, maybe check out programs like "Duet Display" to use a tablet as a second monitor.
  • Adjust your Powershell Execution Policy, and be aware of the potential consequences for that. I set CurrentUser to be Unrestricted.
  • In City of Heroes, enable chat logs by going to MENU -> Options -> Windows -> Log Chat (Enabled). This will create text files in your COH install directory -> username -> logs folder. 


To run the script, download it and put it wherever you like, like on your desktop. Then right click on the file to select "Run with Powershell".


You will then navigate to your logs folder and select the file to monitor (ex: "chatlog 2021-03-28.txt") . This will load all the data already in the file, and remain open to monitor it for new lines that COH adds as you play.


You can drag the window over to your second monitor, and right click in the title bar if you need to change font sizes, etc. You can close the window at any time, or click inside it and hit CTRL-C to close it.




I am NOT a programmer. I used to be (a little) until I took an arrow to the knee, decades ago. I still dabble, and this is the first time I have used Powershell at all. I am confident others can do better and hope they will, and share their results here for the community. If this script is helpful to you, if it inspires you to create something better, awesome. And, if not, why did you spend time reading all this when you could be running an MSR with me, instead?



  • Like 5
  • Thanks 1

Oklahoman, Okie, Vayne Glorious, Sooner Magic, Treehugging Wacko, Boy Band, etc

Farming Incarnate Salvage - 1 salvage roll every 15 minutes!  ||  Why NO TELLS to join your little MSR thing?

Using DEMORECORD To Find Who Is Sabotaging Lambda Badge Runs  ||  https://www.twitch.tv/oklahomancoh

Excelsior Bases: The Sooner State (OK-8602), Atlas Records (ROCK-29730), Generic Heroes (G-16581), Sooner Nation (SOONER-8490)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...