here is a simple voice on !age script, i got tired of asking and then having to right click and set +v for user. my first script. it will send a notice but the notice will be invisible to you. only the person who entered will see it. gd luck with it. change kick message or colors. w/e u like. to enable to multiple rooms u will need to put a comma btween each room name(eg #room, #room,#room)
on !1:JOIN:#roomname:.timer 1 1 $iif($nick !isop $chan,.notice $nick Welcome to $chan please state your age like this: !19 $+ $chr(44) if you do not state your age you will be kicked.)
on $*:text:/^!(\d+)/S:#dirty: {
tokenize 32 $strip($regml(1))
if ($1 >= 18) && ($1 <= 50) mode $chan +v $nick
if ($1 < 18) { mode $chan +b $wildsite
kick $chan $nick Come Back After Your 18th Birthday.}
}
I pasted this into the remote in script editor
on !1:JOIN:#roomname:.timer 1 1 $iif($nick !isop $chan,.notice $nick Welcome to $chan please state your age like this: !19 $+ $chr(44) if you do not state your age you will be kicked.)
on $*:text:/^!(\d+)/S:#dirty: {
tokenize 32 $strip($regml(1))
if ($1 >= 18) && ($1 <= 50) mode $chan +v $nick
if ($1 < 18) { mode $chan +b $wildsite
kick $chan $nick Come Back After Your 18th Birthday.}
}
why doesn't it work?
you can make this
if ($1 >= 18) && ($1 <= 50) mode $chan +v $nick
if ($1 < 18) { mode $chan +b $wildsite
kick $chan $nick Come Back After Your 18th Birthday.
}
}
to this
$iif($1 isnum 18-50,mode $chan +v $nick,ban -k # $nick 2 Come Back After Your 18th Birthday.)
but as HoNdAx707 said anyone can lie and put !18