collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: [Request]: No spam in Guildchat!  (Read 4610 times)

0 Members and 1 Guest are viewing this topic.

Offline jholder82

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
[Request]: No spam in Guildchat!
« 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?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: [Request]: No spam in Guildchat!
« Reply #1 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.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: [Request]: No spam in Guildchat!
« Reply #2 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
« Last Edit: December 15, 2008, 08:15:58 pm by Temar »

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 62
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal