Skip to content

Instantly share code, notes, and snippets.

@ThisIsMissEm
Created February 2, 2010 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThisIsMissEm/292635 to your computer and use it in GitHub Desktop.
Save ThisIsMissEm/292635 to your computer and use it in GitHub Desktop.
/*===============================================
File:
Author: Micheil Smith
Description:
===============================================*/
var sys = require("sys");
var Protocol = require("../lib/protocol");
var irc = new Protocol.client(function(data){
sys.puts("rec >> "+data);
}, {
// some methods like Send, and stuff here.
});
irc.connect("6667", "irc.freenode.net");
setTimeout(function(){
irc.disconnect();
}, 10000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment