[06:37] *** wyleu has joined #kamaelia |
[09:17] *** orphans has joined #kamaelia |
[10:13] *** wyleu has joined #kamaelia |
[10:24] *** MS- has joined #kamaelia |
[10:25] < MS-> woo. Looks like the logger is working properly :) |
[10:25] < MS-> aside from thinking the time is aaaages ago |
[10:25] < MS-> kamlogbot: help |
[10:25] Reply: Name: kamlogbot Channel: #kamaelia |
[10:25] Reply: I do a simple job -- recording all channel traffic. |
[10:25] Reply: Lines prefixed by [off] won't get recorded |
[10:25] Reply: I respond to the following: 'logfile', 'infofile', 'help', 'date', 'time', 'dance', 'poke', 'slap', 'ecky', 'boo', and 'reload {modulename}'. |
[10:25] < MS-> kamlogbot: time |
[10:25] Reply: 10:25:40 |
[10:25] < MS-> probably ought to sort that |
[10:35] *** wyleu has joined #kamaelia |
[10:43] *** wyleu has joined #kamaelia |
[11:52] *** vmlemon_ has joined #kamaelia |
[11:54] < vmlemon_> Hi |
[12:29] < vmlemon_> kamlogbot: dance |
[12:29] Reply: does the macarena |
[14:22] *** Lawouach has joined #kamaelia |
[15:45] *** vmlemon__ has joined #kamaelia |
[15:47] *** vmlemon__ is now known as vmlemon_ |
[16:04] *** vmlemon_ has joined #kamaelia |
[18:13] *** vmlemon_ has joined #kamaelia |
[18:40] *** vmlemon_ has joined #kamaelia |
[18:47] *** vmlemon_ has joined #kamaelia |
[19:10] < MS-> kamlogbot: poke |
[19:10] Reply: Not the eye! Not the eye! |
[19:14] *** bcarlyon|laptop has joined #kamaelia |
[19:16] *** vmlemon_ has joined #kamaelia |
[19:17] < vmlemon_> kamlogbot: ping |
[19:18] < vmlemon_> kamlogbot: poke |
[19:18] Reply: Not the eye! Not the eye! |
[19:18] < vmlemon_> kamlogbot: dance |
[19:18] Reply: does the macarena |
[19:18] < MS-> heh |
[19:18] < vmlemon_> Hmm, lagging today... |
[19:18] < MS-> Probably ought to add a bit more intellgence to it |
[19:18] < MS-> kamlogbot: poke |
[19:18] Reply: Not the eye! Not the eye! |
[19:18] < MS-> there is a teeny lag isn't there |
[19:18] < MS-> kamlogbot: help |
[19:18] Reply: Name: kamlogbot Channel: #kamaelia |
[19:18] Reply: I do a simple job -- recording all channel traffic. |
[19:18] Reply: Lines prefixed by [off] won't get recorded |
[19:18] Reply: I respond to the following: 'logfile', 'infofile', 'help', 'date', 'time', 'dance', 'poke', 'slap', 'ecky', 'boo', and 'reload {modulename}'. |
[19:18] *** vmlemon_ was playing with MegaHAL, earlier... |
[19:19] < MS-> yeah? |
[19:19] < vmlemon_> I see that they have some Python glue stuff |
[19:19] < vmlemon_> (a rather simple API for it) |
[19:19] < vmlemon_> Which could make an interesting Kamaelia component |
[19:20] < MS-> May be interesting to hook into kamaeliabot |
[19:21] *** vmlemon_ pushes kamlogbot's Turbo Mode button ;) |
[19:23] < vmlemon_> Looks like there's only 4 interfaces/API calls, too |
[19:23] < vmlemon_> (mh_python.initbrain(), mh_python.doreply(text), mh_python.learn(text) and finally mh_python.cleanup() ) |
[19:24] *** vmlemon_ is tempted to try and hammer it into a copy of the logger, somehow... |
[19:51] < vmlemon_> kamlogbot: ecky |
[19:51] Reply: Ptang! |
[19:53] < MS-> That would probably be quite simple to put in really |
[19:55] < MS-> You modify this file: http://code.google.com/p/kamaelia/source/browse/trunk/Code/Python/Kamaelia/Kamaelia/Apps/IRCLogger/Support.py |
[19:56] < MS-> learn would be used in |
[19:56] < MS-> if msg[0] == 'PRIVMSG': |
[19:56] < MS-> doreply would probably make sense in |
[19:56] < MS-> if msg[0] == 'PRIVMSG' and msg[3].split(':')[0] == self.name: |
[19:57] < MS-> initbrain & cleanup would probably go in the main code |
[19:58] < MS-> ie in http://code.google.com/p/kamaelia/source/browse/trunk/Code/Python/Apps/Kamaelia-Logger/App/KamaeliaLogger.py |
[19:59] < MS-> Probably in class BasicLogger, method main |
[19:59] < MS-> after |
[19:59] < MS-> self.login() |
[19:59] < MS-> self.changeDate() |
[19:59] < MS-> yield 1 |
[20:00] < MS-> with cleanup() after the loop |
[20:00] < MS-> though that's less useful here. |
[20:02] *** Mjejajm has joined #kamaelia |
[20:04] *** Mjejajm is now known as vmlemon_ |
[20:06] < vmlemon_> kamlogbot: dance |
[20:06] Reply: does the macarena |
[20:30] *** vmlemon_ has joined #kamaelia |
[23:42] *** vmlemon_ has joined #kamaelia |