Age Limit 3.0
mIRC Code
+ 1 likes
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | Dec 16, 2008 |
| Last Updated | Jul 22, 2009 |
| Tags | age limit |
Introduction
/age activates|deactivates the script
/agelimit sets the channel and age limit
updated the regex so it no longer kicks is a person says their age is 140 and the limit is 14
mIRC Snippet:
Age Limit 3.0
Posted on Dec 16, 2008 9:49 pm
Posted on Dec 16, 2008 9:49 pm
you could do somthing like this and have them enter their year of their birth ex: !1999
the only problem is anyone can lie about their age...
the only problem is anyone can lie about their age...
| Code: |
| on !@*:join:#:{ if (!$readini(agecheck.ini,AgeCheck,$nick)) { .notice $nick Please type in ur Year of Birth ex: !1999 You have 15 seconds to do so before you are banned from this room .notice $nick You will only be asked to do this once if you pass .timer.age.check 1 15 ban -k # $nick 2 Failed To Give Year Of Birth } } on $@*:text:/^!(\d{4})$/S:#: { var %age = $calc($date(yyyy) - $regml(1)) if (%age isnum 18-60) { msg # Oh Ur %age Years Old.. Well Then You Can Stay. .timer.age.check off writeini agecheck.ini AgeCheck $nick $address($nick,2) } else { ban -k # $nick 2 $iif(%age > 60,TOO OLD,TOO YOUNG) | .timer.age.check off } } |
mIRC Snippet:
Age Limit 3.0
Posted on Dec 17, 2008 11:19 am
Posted on Dec 17, 2008 11:19 am
quite a few errors here, when someone states their age as something below the age limit, and they join again they don't get kicked, the person who's just been asked to state their age does, also, you should add a manual way to remove users from the list, just incase they state their age as !9 when they meant to do say !19.
mIRC Snippet:
Age Limit 3.0
Posted on Dec 17, 2008 3:00 pm
Posted on Dec 17, 2008 3:00 pm
Some of that sentence is incorrect. On join, it sets a timer using the $+(timer,$nick). this makes it impossible for the wrong person to be kicked. and on a rejoin after initial too young kick, the code up ther bans the user. i tested it all very well, i have used this script for quite a while and i have made it better out of neccesity. The only problem i see is that people that use wirc cannot use it.
mIRC Snippet:
Age Limit 3.0
Posted on Jan 5, 2009 6:41 am
Posted on Jan 5, 2009 6:41 am
what if i wanted it to remember people so they would have to answer it everytime they logged in ? and would i be able to edit that list ?
there's one for you brains out there ?
please help :)
there's one for you brains out there ?
please help :)
mIRC Snippet:
Age Limit 3.0
Posted on Jan 7, 2009 12:59 pm
Posted on Jan 7, 2009 12:59 pm
why would you want it to ask the same person many times? that would get annoying after a while...





