I'm not sure if I really made any good sence to what I wanted, but heres the general idea of the whole system.
Lets say there are 3 avatars on a sim; John Doe, Jane Doe and David Mills.
John want's to send an anonymous message to Jane,
So he writes a notecard, naming it "Jane Doe" and drops it in the mailbox.
The mailbox sees the name of the notecard, and sends an IM to Jane Doe with the message "You have mail".
When Jane clicks the mailbox, she recieves the notecard, and the mailbox deletes it from it's inventory.
But lets say that Jane is a bit slow, and David is a bit curious what the mailbox are and clicks it, he should not get Jane's notecard, only a message saying something like "Sorry, no mail for you.". Unless there actually are a notecard with his name, then he recieves his notecard, which then is deleted.
It couls also be good if the IM to the recieving user is repeated every 10 minutes in case the recipient missed the first message. (Since, from what I have seen so far, the IM's isn't opened in a new IM tab, only a private message in the local chat.)
I know this isn't the forum to ask for complete scripts. Ofcource, a complete script would be apreciated as long as I have the right to modify it. but anything that could leat me into the right direction is apreciated, as long as you don't just say something like "Use llWhatEver" since that won't make any sence to me yet. I am also willing to pay for good help. I'm not very rich though, so please don't ask for several thousands.

So far, this is the script I have for the dropoff of the notecards (found on this forum):
(Two lines are not working for some reason though)
key name;
key owner;
default {
state_entry() {
owner = llGetOwner();
llAllowInventoryDrop(FALSE);
}
touch_start(integer n) {
llAllowInventoryDrop(TRUE);
llSetTimerEvent(20.0);
name = llDetectedKey(0);
llInstantMessage(name,"Touched."

;
}
changed(integer change) {
if(change & CHANGED_ALLOWED_DROP){
llSay(0, "thank you"

;
llInstantMessage(name, " Thank you! Your message will be delivered as soon as the recipient klicks the mailbox."

; // Does not work
llInstantMessage(owner," dropped a notecard"

; // Does not work
llAllowInventoryDrop(FALSE);
llSetTimerEvent(0.0);
}
}
timer() {
llAllowInventoryDrop(FALSE);
llSetTimerEvent(0.0);
}
}
Any help is greatly appreciated.