NOTES MODULE
TCL COMMANDS:
notes <user> [number]
gets info on notes stored for a user
returns: (if no numbers specified) number of notes for user, -1 if no such user, -2 if notefile failure (if a note number specified) the number'th note for the user, -1 if no such user, -2 if notefile failure, 0 if no such note. the note is a list, first element from, 2nd element timestamp, 3rd element the note itself

storenote <from> <to> <msg> <idx>
stores a note for later reading, notify idx of any results (use idx == -1 for no notify).
returns: 0 on success non-0 on failure

sendnote <from> <to> <message>
simulates what happens when one user sends a note to another (this can also do cross-bot notes)
returns: "1" if the note was delivered locally or sent to another bot, "2" if the note was stored locally, "3" if the user's notebox is too full to store a note, "4" if a Tcl binding caught the note, "5" if the note was stored because the user is away, or "0" if the send failed


BINDING(S) TABLE(S):
NOTE
bind note <flags> <nickname> <proc>
proc-name <from> <to> <text>
incoming notes (either from the party line, someone on IRC, or someone on another bot on the botnet) are checked against these binds before being process; if a bind exists, the bot will not deliver the note; the nickname must be an exact match (no wild- cards), but it is not case sensitive; flags is ignored

(c) 1997 Robey Pointer
(c) 1998 Eggdrop Development Team