on @*:join:#:{
set %chan $chan
.hinc -m Join $nick
.describe $chan welcomes $nick to $chan for the $ord($hget(Join,$nick)) time
.describe $chan notes that the current time is $time on $date
.hadd -m Join $+(Join.,$hget(Join,$nick)) $ctime
.describe # Notes that your last visit was at $asctime($hget(Join.,$calc($hget(Join,$nick) - 1)),hh:nn:ss tt) on $& $asctime($hget(Join.,$calc($hget(Join,$nick) - 1)),dd/mm/yyyy)
.mode $chan +v $nick
.msg $nick You have 30 seconds to enter the channel password here
$+(.timer,$nick) 1 30 password $chan $nick
}
on *:text:&:?:{
if $timer($nick) && ($1 === <PaSsWoRd>) {
$+(.timer,$nick) off
}
}alias password {
.ban -ku300 $1 $nick
.closemsg $nick
}
on *:start:{
if !$hget(Join) { .hmake Join 100 }
if $exists(Join.hsh) { .hload Join Join.hsh }
}
on *:exit:{
.hsave -o Join Join.hsh
}
on *:disconnect:{
.hsave -o Join Join.hsh
}
can someone fix this script it wont say the time when the usser last entert and when someone dont type the pass or type the wrong they dont get kickt and when somone type the pas wrong it need to say accses to #shadow denied
when the pas is good it need to say acces to #shadow granted
russelb made this script for me i tryd to edit the script to kick ppl but it wont work