Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.aim.code.incoming.update_buddy
on UPDATE_BUDDY (adrSelf, data) {
local {
screenName = string.nthField(data, ':',1);
flOnline = (string.nthField(data, ':',2) equals 'T');
pctWarn = string.nthField(data, ':',3);
timeSignon = tcp.im.builtinDrivers.aim.code.util.posix2Date(string.nthField(data, ':',4));
minIdle = string.nthField(data,':',5);
strUserClass = string.nthField(data,':',6);
flAolUser=(strUserClass[1] equals 'A');
oscarAdmin=strUserClass[2];
flUnavailable = false};
if sizeOf(strUserClass)>2 {
flUnavailable = (strUserClass[3] equals 'U')};
return(tcp.im.builtinDrivers.aim.code.core._callsub(adrSelf, "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.