Closed AaronMcHale closed 10 years ago
When you have a moment try latest dev build https://dl.dropboxusercontent.com/u/30679730/dist/PurpleIRC.jar
You can create a message-format: section in the bot yml now. The syntax is exactly the same as message-format: from the config.yml
Version 2.1.8 supports per bot message templates.
Hi sorry for the very late reply, what I'm actually looking for is a way to have default message formats (in the config.yml), then either in the config.yml or bot.yml define separate irc-hero formats per IRC user, so for example the default irc-hero-chat could be "[IRC] %nick%: %message%", and for the IRC user "MC", "Tekkit", and "FTB" (which are broadcasting chat from their respective servers into IRC) the format could be "[%nick%] %message%" (with the %message% containing the player name and their chat message broadcast into IRC)
For our use it would be great if a group could be created in a config called "server-bots", and the above users could be added to that group, then the above formats could also be applied to that group, so instead of having to create duplicate formats for each user we would only have to have them once but apply them to all three users mentioned above.
Sorry if I wasn't clear on that, and again sorry for the late reply, also hopefully you will see this since it's closed.
Thank you Aaron
I'll open this with my situation:
We have three servers which we will be setting up with PurpleIRC and Herochat, all of the servers will be connected to the same IRC channels, and we will be using IRC as two things:
What we would like to be able to do is have custom "irc-hero-" formats for messages coming from the server bots (as in the IRC user's Server1, Server2, etc), and a default format for all other IRC users.
Is this something that could be added? I feel it could be very useful and extend the existing functionality and usefulness of PurpleIRC.
Thank you Aaron