Since the code makes a control variable( if (!$($+(%,note,$2),2)) ), takes advantage of the variable. :)
example:
ON *:TEXT:-addname *:#: {
fbnumber $2
;// if don t exist...continue (message chan + write in the file.txt)
if (!$($+(%,name,$2),2)) {
set $+(%,name,$2) $3-
msg $chan Name $3- has been added to Facebook ID, $2. | load -rs addname.txt
write addname.txt Added by $nick - Name $3 - Facebook ID $2 - $asctime -
}
;// esle ...sorry is already in DT DateBase etc etc ...and not write in the file.txt
else {
msg $chan $nick $+ : Sorry this 1[04Name]: ( $3- ) for 1[04FB ID]: ( $2 ) is already in DT DateBase.
}
}