No idea, but I'm just reacting to say that it sounds like a brilliant idea with lots of potential for all sorts of stuff.
Really if this works these sorts of scripts should be shared on the wiki so more people can use it (with approriate recognition of the maker) in their scripts.
(just like basic teleport scripts which a lot of people are reinventing daily.)