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
fto eventname, with the unique tagid. If parameterfis absent,idis 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
userparameter can contain fieldsnick,usernameandrealname. Thenickfield is required.Parameters
- user: