Thank you for the script. I noticed a bug in it: if you can't afford an item, the script still reports that you sent it.
(Note: if you can't afford an item, visit_url returns a buffer containing the substring, "Your fingers are writing checks that your Crimbo Credit Balance can't cash.")
PS...