How to read or capture events happening ingame (through logs)

Posts
1
Likes
1
Hello, we're working on a script for a server and we're fairly new to this whole python scripting thing, so please be patient with us. We are trying to capture the event of two people initiating a duel with each other.

We have logs that save who kill who and such, but we'd like to figure out when two people duel each other. In the console it shows the dueling event but not it does not show up in the logs. I assume we can't capture the event directly from the game, since it'd need access to source code or something (I am still new to this whole thing). How can we make the logs save everything in the console?
 
Top