Iori,
here is the code:
raw WHISPER:*:{
;the $_mask.chk, cheks if the user is granted to add the entries into the list
if ($_mask.chk($strip($gettok($address,1,64))) == $true) {
;$5 is the first wors of the msg, $6 should be the mask, and $7 must be a number
if ($5 === !scrLIST) && ($remove($7-,) isnum) {
;here the code checks if the entry already exists, when it comes to add the entry, specially using -u the hadd just doesnt work.
if ($hget(scr.lst,$6) == $null) { hadd $+(-mu,$calc($remove($7-,) * 60)) scr.lst $6 OK }
}
}
}