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

system.verbs.builtins.tcp.im.builtinDrivers.aim.send

on send (username, messagetext) {
	<<Changes
		<<5/21/02; 11:05:47 PM by JB
			<<Corrected the encoding so the tcp.rpi works correctly, along with everything else. What you send as messagetext is what the user will see.
		<<5/6/02; 8:11:24 PM by DW
			<<Created.
	local (s);
	bundle {
		s = string.replaceall (string (messagetext), "&", "&");
		s = string.replaceall (s, "<", "<");
		s = string.replaceall (s, ">", ">");
		s = string.replaceall (s, "\"", """)};
		<<messagetext = string.replaceall (s, "'", "'") //JES 7/30/02: commented out -- AOL IM doesn't decode this.
	return (tcp.im.builtinDrivers.aim.code.outgoing.sendIm (@temp.im.aim, username, s))};
bundle { //test code
	send ("esoroos2", "Hey there!")}



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.