Skip to content

Instantly share code, notes, and snippets.

@kiwina
Forked from kidd/config.lua
Created September 15, 2013 04:08
Show Gist options
  • Save kiwina/6567952 to your computer and use it in GitHub Desktop.
Save kiwina/6567952 to your computer and use it in GitHub Desktop.
config = {
nick = "my-nick123",
autoReconnect=true,
host="irc.freenode.org",
port=6667,
ident="my-nick123",
realname="my-nick123",
channels={"#lua"},
modules = {'roll'},
}
local ivar2 = require 'ivar2'
ivar2:Connect(config)
ivar2.Loop:loop()
-- Sun Jun 30 18:21:39 2013 INFO Connecting to irc.freenode.org:6667.
-- Sun Jun 30 18:21:40 2013 ERROR Operation already in progress
-- Sun Jun 30 18:21:40 2013 INFO Lost connection to server. Reconnecting in 20 seconds.
-- Sun Jun 30 18:21:40 2013 INFO Loading module roll.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment