Error message

Warning: Invalid argument supplied for foreach() in hack3r_preprocess_node() (line 83 of /var/www/sites/all/themes/hack3r/template.php).

Alright, I am currently writing an IRC bot to tunnel information from the hack3r.com web site to the hack3r.com IRC server, ocyrus and I think it might be a good idea to write a sort of protocol for this information to be communicated through. Right now it works off RSS feeds.

The idea is that the bot will listen on a port and wait for information to be supplied from the hack3r.com web site, and then relay that information to the target channel(s). I was thinking that the information could be supplied in a hash array format, and stored directly into a hash array for presentation to the target channel(s). This is how I was thinking it might take shape :

'TARGETS' => '#chat,#hack3r,#test',
'TYPE' => 'newForumTopic',
'AUTHOR' => 'rpag',
'TOPIC' => 'topic',
'LINK' => 'http://www.hack3r.com/content/topic'

And for forum replies, it might look like :
'TARGETS' => '#chat',
'TYPE' => 'forumReply',
'AUTHOR' => 'rpag',
'TOPIC' => 'topic',
'LINK' => 'http://www.hack3r.com/content/topic#comments'

This is just a rough sketch of an idea, so I'd really like your input on how you think it would be best to work. TARGETS i dunno about, I thought it might be a good idea so only certain information is fed into certain channels. Any ideas on how it should work? Appreciate feedback..

Statistics, on #chat room would be fun. Most questions asked, most questions answered, maybe a chart of all the communications

Okay, I'll take those suggestions on board. I'm not sure about the chart of communications, but maybe bannedit can work his magic on that one :) All the other suggestions I'll start work on asap.