in reply to
Net::OSCAR - a bot that will send and receive?
Did you check the documentation? Granted it's not brimming with code examples, but there is quite a bit of text in Net::OSCAR. From a quick browse it appears that you need to declare a callback for:
im_in (OSCAR, FROM, MESSAGE[, AWAY])
Called when someone sends you an instant message. If the AWAY para
+meter is non-zero, the message was generated as an automatic reply, p
+erhaps because you sent that person a message and they had an away me
Confucius says kill mosquito unless cannon