Am I the only one who sees that if ($me && added isin $1-) will always trigger when added isin $1-?
This is a programming language, not English.
EDIT: Cheiron also found the problem but through experience.
On an unrelated note, since you don't check for anything but the type of command being present in the text it will also match if your nick and "added" appear in user's address or in the reason.