help needed with simple mail script

When I reply to a message that was moved to a folder (out of the inbox) I want to have the reply (the sent message) saved in the same sub folder. Currently, either in Tiger mail or Entoruage 2004, you can not do this. Does anyone have a script for this what would work on the new Tiger release of mail?