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 eventname
, with the unique tagid
. If parameterf
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 fieldsnick
,username
andrealname
. Thenick
field is required.Parameters
- user: