File irc.luadoc

LuaIRC is a low-level IRC library for Lua.

Functions

meta:hook (name, id [, f]) Hooks function f to event name, with the unique tag id.
meta:send (fmt, ...) Sends a line of raw IRC to the server Test Test 2
new (user) Create a new IRC object.


Functions

meta:hook (name, id [, f])
Hooks function f to event name, with the unique tag id. If parameter f is absent, id is assumed to be both the callback function and unique tag.

Parameters

  • name:
  • id [:
  • f]:
meta:send (fmt, ...)
Sends a line of raw IRC to the server Test Test 2

Parameters

  • fmt:
  • ...:
new (user)
Create a new IRC object. The user parameter can contain fields nick, username and realname. The nick field is required.

Parameters

  • user:

Valid XHTML 1.0!