Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.aim.code.outgoing.sendIm
on sendIm(adrSelf, user, message) {
<<Changes
<<7/30/02; 2:52:34 PM by JES
<<Added a sensible error message for the case where we're not connected to the AIM server.
if not defined (adrSelf^._socket) {
scriptError ("Can't send the message because there is no active AIM connection.")};
tcp.im.builtinDrivers.aim.code.core.flap_to_toc(adrSelf, 2,"toc_send_im "+ tcp.im.builtinDrivers.aim.code.util.normalize(user) +" "+ tcp.im.builtinDrivers.aim.code.util.encode(message) );
return(true)}
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.