BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: clashbot on January 27, 2008, 05:56:20 pm
-
I am creating a secondary bot for an org, as a backup(the primary bot has some database problems) but need to get bebot to ignore all guld commands but still be available for guest channel and tells. Is there an easy way to do this? Trying to prevent spamming by the new bot. They are not on the same machine, consider the new bot to be completely stand alone...
-
Simply setting $guildbot to false in your Bot.conf should work.
-
will that still maintain the roster and stuff?
-
didn't work, think I need to change the command control chgaracter too..
-
ok that seemed to work, it no longer doubles the onlines or anything, and changing the command character to the "\." eliminated commands from getting doubled up
-
Uhm yeah, sorry. To run as backup for an org bot you have to run with guildbot set to true - otherwise several functions won't work.
As there is no way to disable a specific channel of the bot yet the only thing you can do to avoid double spam output is to use a different command prefix, yes.
I've put disabling of specific channels in the bot on my todo list though, should be in the next released version.
-
run this query in mysql
UPDATE botname_access_control SET minlevel = 'DISABLED' WHERE channel = 'gc'
-
That disables all commands though, you'll have use !commands gc to enable them one by one.
Just commited command locking for gc and pgmsg to trunk, it will make the next release.
-
well if if wants to restore gc after the best way would be to delete all gc entries then let bot set them using there defaults
-
Any custom settings are still lost when changing the DB directly though.
PS: If you do change anything in the database you should restart the bot, otherwise it may take up to one hour till the cache is refreshed.