BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian modules => Topic started by: jholder82 on December 15, 2008, 05:10:09 pm

Title: [Request]: No spam in Guildchat!
Post by: jholder82 on December 15, 2008, 05:10:09 pm
Hi, I am a novice to php, but I am pretty sure this would be a simple fix.

But my guild loved the bot....but they hate the spam. More specifically...

I want to cut out the LOGON and LOGOFF messages for people.

I want to cut out the message "You have not set your craft yet, please blah blah blah."

I want to cut out the news message.

Pretty much, Under no circumstance do I want the bot to say anything in guild chat, or in tells to people unless asked for. Could someone give me a breakdown how to accomplish a spam free bot?
Title: Re: [Request]: No spam in Guildchat!
Post by: Alreadythere on December 15, 2008, 07:35:40 pm
Disable the Logon module via !modules, it's under [Modules] I think. Or rename the file to _Logon.php. Just make sure it's in the modules/ directory, not under main/ or core/.

For crafting I guess it would be the craft module, there may be a setting or preference to disable it too.

Same for news, pretty sure it's a preference to enable or disable it.
Title: Re: [Request]: No spam in Guildchat!
Post by: Temar on December 15, 2008, 08:13:07 pm
Hi, I am a novice to php, but I am pretty sure this would be a simple fix.

But my guild loved the bot....but they hate the spam. More specifically...

I want to cut out the LOGON and LOGOFF messages for people./tell Botname !set Logon Enable Off

I want to cut out the message "You have not set your craft yet, please blah blah blah."/tell Botname !set Logon_notifies Enabled Off

I want to cut out the news message.as above

Pretty much, Under no circumstance do I want the bot to say anything in guild chat, or in tells to people unless asked for. Could someone give me a breakdown how to accomplish a spam free bot?

Those commands will disable the things you want
OR
you can Also Disable the modules from Loading (requires Restart)
/tell Botname !modules d Logon.php Modules
or rename /modules/Logon.php to _Logon.php

/tell Leetboss !modules d News.php Modules
or rename /modules/News.php to _News.php

craftclasses cant be disabled ingame
so rename /modules/aoc/craftclasses.php to _craftclasses.php

also a Note /tell Botname !set Logon_notifies Enabled Off is used by alot for sending messages when u logon, changing this setting will probably disable more than you listed
SimplePortal 2.3.7 © 2008-2024, SimplePortal