on @*:join:#fukliam:{
msg # Welcome $nick $+ , This is a private channel. Please enter the password or you will be kicked (10seconds)
set -u60 $+(%,password.not.entered.by.,$nick) $true
.timer 1 10 passwordkick $chan $!( $+ $nick $+ ,)
}
alias -l passwordkick {
if $($+(%,password.not.entered.by.,$2),2) {
ban -k $1 $2 5 Removed.
.timerban 1 3 mode $1 -b $address($2,5)
unset $+(%,password.not.entered.by.,$2)
}
}
;
on @*:TEXT:password thepasswordhere:#fukliam:{
unset $+(%,password.not.entered.by.,$nick)
.notice $nick Password Accepted.
}