Jump to content
SubSpace Forum Network

Recommended Posts

Posted

How would I go about having my bot read the ban messages like "Ban #00 added zone-wide. Duration: 123 day(s).", then be able to print out the ban # in a private message along with the other ban info?

 

I'd appreciate any help, thanks.

Posted

there is a case for MSG_ARENA in the EVENT_CHAT handler

 

What you would do is check the string to match the syntax of what you want, then parse and display it. Or you could just take it so that any arena message starting with "Ban #" just gets the whole message sent somewhere else

Guest
This topic is now closed to further replies.
×
×
  • Create New...