Taking Twitter SMS further

Ok, so my Update multiple twitter accounts via SMS from one phone covered how to use a script to send tweets from one account to many others. Simple and effective.

What if you wanted to do more? What if you wanted to control more with your tweets?

It'd be very easy to hook the script into a facebook app to update your status, for example (though I think you can already set up facebook to update your status via SMS). Or perhaps you could have a special code to look for that would do something on your server? I can't think of anything I'd want to do on mine, but then it only hosts websites - if I had a server in my house hooked up to other devices, it could do anything...