Page 1 of 1

multiple ircbot.text files

Posted: Sat Dec 22, 2012 4:16 pm
by RaythXC
I currently have 3 different ircbot.text files for different reasons. I have my original theme, a red-based theme and a christmas one. Would it be possible to implement a command where someone with the correct authority could type /msg Bot textilfe thisfile.text and the bot will switch to that file, rather than having to manually rename the files to ircbot.text and then using rehash? This would allow different DJ's to have different colours as well which could make each dj unique.

Re: multiple ircbot.text files

Posted: Sat Dec 22, 2012 5:33 pm
by Indy
In source now you can use !rehash newfilename.text to load a different ircbot.text.

Re: multiple ircbot.text files

Posted: Sat Dec 22, 2012 11:59 pm
by RaythXC
just ran the updater to get any updates, msg'd the bot with !rehash ircbot-blue.text:
(4:56:46am) /Rayth\ !rehash ircbot-blue.text
(4:56:46am) /Radio\ Reloading ircbot.text ...
In bot it also said reloading ircbot.text and next song was still in old colours. Unless the update hasnt been uploaded?

Re: multiple ircbot.text files

Posted: Sun Dec 23, 2012 4:11 am
by Indy
It's only in source right now. I'm stability testing some new code so I can't upload a new build atm.