In favor of this feature request actually being implemented, here's what the relevant message's html looks like:
Code:
<!--familiarmessage--><center><table><tr><td align=center valign=center><img src="/images/itemimages/nanorhino.gif" width=30 height=30></td><td valign=center>...'s nanobots disintegrate a nearby patch of dirt for materials to build more nanobots. Hey, wait a minute! The hole is filled with pirate treasure! Oh, it's gone. Oh well. At least ... is up to 3% charge now.</td></tr></table></center>
There are a whole bunch of possible messages, so the matcher will have to be reasonably flexible.
According to the wiki...
wiki said:
At the end of combat (when not fully charged)
- <Name>'s nanobots locate a stray dog, and quickly turn it into a gray atomic soup, which they use to construct more nanobots. He is now X% charged, and you are X% grossed out.
- <Name>'s nanobots disassemble some of the local scenery to build more nanobots, bringing him up to X% charge. You should probably be careful not to fight anything near your commemorative plate collection.
- <Name>'s nanobots disintegrate a nearby patch of dirt for materials to build more nanobots. Hey, wait a minute! The hole is filled with pirate treasure! Oh, it's gone. Oh well. At least <Name> is up to X% charge now.
- <Name>'s nanobots break down some nearby rocks and dirt into their component atoms, and use them to build more nanobots. He is now X% charged, but watch out for the new hole in the ground.
- <Name>'s nanobots disintegrate some of the local scenery to make more nanobots, bringing him up to X% charge. You know, if these nanobots went out of control for some reason, that could be a real problem. Eh, whatever.
- <Name> disintegrates an approaching Jehovah's Witness, turning his matter into more nanobots, and increasing <Name>'s charge to X%. You start to give him a approving pat on the head, but think twice about actually touching him.
- "Hey buddy, did you order a-- aaaagh!" You turn around to see a cloud of freshly-built nanobots hovering near an abandoned pizza and pizza-delivery uniform. <Name>, now up to X% charge, puts away his cellphone.
- <Name>'s nanobots disassemble a nearby tree and build more nanobots out of the atoms, bringing him up to X% charge. Of course, since the nanobots are too small to see, it basically just looks like a tree disappeared and <Name> got a little bigger, but you can make some basic assumptions about what's going on.
I'd say that in a <!--familiarmessage--> for nanorhino.gif, match (\d+)% and it should be the current charge. If the charge is at 100% the image is nanorhinoc.gif and there is no charging message.
Edit: Oh. Didn't see Darzil's reply until after I looked up the information and wrote this post. Guess he doesn't really need it then.