Monday, November 08, 2010 at 12:06 AM.

on UPDATE_BUDDY (adrSelf, data) {
	local {
		screenName = string.nthField(data, ':',1);
		flOnline = (string.nthField(data, ':',2) equals 'T');
		pctWarn = string.nthField(data, ':',3);
		timeSignon =, ':',4));
		minIdle = string.nthField(data,':',5);
		strUserClass = string.nthField(data,':',6);
		flAolUser=(strUserClass[1] equals 'A');
		flUnavailable = false};
	if sizeOf(strUserClass)>2 {
		flUnavailable = (strUserClass[3] equals 'U')};
	return(, "UPDATE_BUDDY", {adrSelf, screenName, flOnline, pctWarn, timeSignon, minIdle, flAolUser, oscarAdmin, flUnavailable }, adrSelf^._adrSubCallbacks ))}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.