thasmo Posted March 21, 2016 Share Posted March 21, 2016 Is there a possibility to intercept or listen to chat messages? Is there maybe an event which can be listened to? I'd like to intercept/catch chat messages and process them. Would be cool if someone could provide a small snippet to illustrate how it could be done. Thanks a lot! Link to comment Share on other sites More sharing options...
Muche Posted March 22, 2016 Share Posted March 22, 2016 I think networking.lua|Networking_Say(...) might be a good starting point. I know of following mods that inject into it, no idea if they are uptodate: Hide Me, Restart, Custom Text, Killer's Traps, Friendship. Link to comment Share on other sites More sharing options...
thasmo Posted March 22, 2016 Author Share Posted March 22, 2016 Thanks for your input. Seems like there's no event to listen to. "Hide me" for example just replaces the `Networking_Say` function with it's own and adds some logic. Doesn't seem to be the cleanest way, but probably the only solution. I'll tinker with it for a bit. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now