I don't know if such a thing exists, but I can see a good use for it. Is there a script which can extract the numerical value from each line of a text field and return a total? The use case I envision is using the notes (or other unused field) of a character sheet to record XP. The field could be filled with: 200 Fought some Orcs
350 liberated the Gnome King
1000 Lair of the Wyrmlings The script could reference that field and return "1050", which could either be entered manually into the XP field, or transferred with something like ChatSetAttr. Other uses could be Simple monetary bookkeeping. Simply add a positive or negative value and note to a line. Update a money field by the methods above. Long term tracking of the passage of days. Anyway, I've come to the conclusion that the API is beyond my abilities at this point, but I'm throwing the idea out to any of our scripters who might also see the value of the idea.