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

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

Author Topic: Kids module - under 18 control  (Read 6524 times)

0 Members and 2 Guests are viewing this topic.

Offline nebhyper

  • BeBot User
  • **
  • Posts: 62
  • Karma: +0/-0
Kids module - under 18 control
« on: March 02, 2007, 06:43:53 pm »
My org has a few members who let thier children play.  They do this so that they can spend time with thier children playing the same game.

These children are from ages 11-14.  Since our org uses the jokes module to include !cyber (!cyb0r) I wrote this module to keep a list of the kids that are in our org and limit the use of some commands while these kids are online.  In the case of our org they are only on during certain hours of the day while thier father is online too. They log off early (well relative) in the evening due to school nights and have limited online time during the weekends. (Homework, chores, etc.)  Thus limiting commands while they are online is minimal for players in the org.

Plus, the command can still be used via tell.  In tell format you can check to see if the person sending the tell is a minor or not.  This allows people to use these commands in private tell yet still restrict minors from using it.

I will attach the kids.php module and the jokes.php module for an example of how I used this code.

!kid add name
!kid rem|del name
!kidlist

All can be used in gc, pgroup or tell.  Have to be admin to add/remove. 

Also note, this code does check the alts list of each kid in the table and checks if they are online as well.  So all you have to do is add the kids main and have thier alts registered.  If thier alt is not in the org but in the pgroup channel as a guest, well, it checks that too!

Siocuffin (Squad Commander of United Notum Federation)
alts: Nebhyper, Nebalmighty.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Kids module - under 18 control
« Reply #1 on: March 02, 2007, 07:38:22 pm »
I like it! Great consideration of minors, and looked like was easy to incorporate with my module. Another way would be to have an extra field on the jokes table for a boolean flag whether adult content or not and filter on the response, rather than the entire command. Obviously !cyber you would want completely filtered but im sure some of the other responses, and org added jokes might want it as well. Then you could just do a single check in the joke function for the adult flag and either send the normal response or the blocked response.

Would require considerable more administration though :(
« Last Edit: March 02, 2007, 07:40:26 pm by Malosar »
Eternalist
General of The Syndicate

Offline nebhyper

  • BeBot User
  • **
  • Posts: 62
  • Karma: +0/-0
Re: Kids module - under 18 control
« Reply #2 on: March 02, 2007, 08:38:15 pm »
I'm glad you like it.  I went with a command (for adding/removing the main of each minor) and functions (for checks) since this way it can be used with other commands.

At this moment I can not think of any other command that would need to be restricted by minors, however, if someones org has other commands, or other needs to check for minors online, this module provides the function for those checks.


Only example I can think of is if someone says a 'bad' word in chat, you can catch those words and if a minor is on send the person saying the 'bad' word a warning.


I'm sure there are other uses for this code.  I wanted to share it since it can help make org bots minor friendly. (Specifically having in mind the children of org members.)

« Last Edit: March 02, 2007, 09:06:30 pm by nebhyper »
Siocuffin (Squad Commander of United Notum Federation)
alts: Nebhyper, Nebalmighty.

Offline Malosar

  • BeBot Expert
  • ****
  • Posts: 259
  • Karma: +0/-0
    • http://www.lowerdimension.com
Re: Kids module - under 18 control
« Reply #3 on: March 02, 2007, 08:54:15 pm »
Yeah would be fairly simple to add language filter as well in that. When it does the kid check, do a str_replace with **** on the response based on an array of words coded into the module.
Eternalist
General of The Syndicate

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Kids module - under 18 control
« Reply #4 on: February 04, 2008, 09:38:07 am »
has this been ported to the v4 yet? Org pres is VERY interested in this module

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 496
  • 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