Hi all,
I'm busy with setting up an server and I would be very pleased if it would be possible to export the chat to IRC, is that possible in any way? (i've a license so that is no problem)
Greetings and thanks...
export chat to IRC
Moderator: Forum Moderators
Re: export chat to IRC
Badeend (a player) had something like that working at his server. I think you could read the chat from server logs and repeat new msg's to IRC chat through a bot.Caber wrote:I would be very pleased if it would be possible to export the chat to IRC, is that possible in any way?
Just an idea.
Correct. It's just a PHP IRC bot reading the server log and outputting them to an IRC channel after filtering the messages. So if you have experience with PHP or any other programming language, it should be possible to fix this.
I've had it online for a while, but I'm not sure I still have it somewhere.
I've had it online for a while, but I'm not sure I still have it somewhere.
Yes I've experience with PHP and other programming languages. But I really don't know how to do this with TurboSliders. So if you have the script I would be very pleased.Badeend wrote: It's just a PHP IRC bot reading the server log and outputting them to an IRC channel after filtering the messages. So if you have experience with any programming language, it should be possible to fix this.
Is it also possible to talk back from IRC?
Thanks...
Well, TurboSliders writes everything to log.txt, and that's about everything TurboSliders does, you won't need anything else either. So if you build or download an IRC bot, you can build some kind of plugin to read the log.txt and output it to an IRC channel. And yes, it's also possible to send commands to the TurboSlider server. The server reads a txt file for commands every three seconds I believe, you can find it somewhere in the TurboSliders server documentation. So if you let an IRC command write something to that file, it should be working nicely.
I can't give you the script, it's not finished and it's not open source (yet).
I can't give you the script, it's not finished and it's not open source (yet).
Thanks a lot! I will manage to do what I want now...Badeend wrote:Well, TurboSliders writes everything to log.txt, and that's about everything TurboSliders does, you won't need anything else either. So if you build or download an IRC bot, you can build some kind of plugin to read the log.txt and output it to an IRC channel. And yes, it's also possible to send commands to the TurboSlider server. The server reads a txt file for commands every three seconds I believe, you can find it somewhere in the TurboSliders server documentation. So if you let an IRC command write something to that file, it should be working nicely.

