on *:text:!pass *:?: {
set %password. $+ $nick $2-
.timerPassword. $+ $nick 600 ResetPass $nick
}
alias ResetPass {
unset %password. $+ $1
.notice $1 You need to enter a new password. Type /msg $me !pass yourpassword
}
Then, you just want to check -
if ($($+(%,password.,$nick),2)) { allow stuff to be done }
To display the time remaining, you can use:
echo -a $timer(Password. $+ $nick).secs