diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-09 17:29:12 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-09 17:29:12 +0000 |
commit | 5a94ff859c1a3800a2c842ca9ec8a617823b8c23 (patch) | |
tree | bfedfe288c9d99aa8647a9ce3230fd37f5954acf /docs/perl.txt | |
parent | 3fd3a03402c41f9e31bff05120e9c668cf3c2dc2 (diff) | |
download | irssi-5a94ff859c1a3800a2c842ca9ec8a617823b8c23.zip |
Added Irssi::Dcc::values(), updated a few other DCC things too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@306 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'docs/perl.txt')
-rw-r--r-- | docs/perl.txt | 51 |
1 files changed, 36 insertions, 15 deletions
diff --git a/docs/perl.txt b/docs/perl.txt index 94b83e11..9f702354 100644 --- a/docs/perl.txt +++ b/docs/perl.txt @@ -360,15 +360,9 @@ Channel::values() "kicked" - You was just kicked out of the channel (for "channel destroyed" event) -Channel Server::channel_create(channel, type, automatic) - Create new channel with name `channel'. `type' is one of: - (FIXME: export these to perl somehow) - CHANNEL_TYPE_CHANNEL 0 - CHANNEL_TYPE_QUERY 1 - CHANNEL_TYPE_DCC_CHAT 2 - CHANNEL_TYPE_EMPTY 3 - `automatic' means that channel is created "automatically" and - Irssi will NOT change the active window to it. +Channel Server::channel_create(type, automatic) + Create new channel with name `channel'. `automatic' means that channel is + created "automatically", Irssi won't change the active window to it. Channel::destroy() Destroy channel. @@ -456,14 +450,31 @@ Channel::nicklist_getnicks(channel) *** DCC -Dcc:destroy() - Destroy DCC connection. (!!) +Dcc::values() + Get some information about nick. This function returns a reference to + hash table. Hash table has keys: + "type" - Type of the DCC: chat, send, get + "created" - Unix time stamp when the DCC record was created + + "server" - Server where the DCC was initiated. + "chat" - DCC chat record if the request came through DCC chat + "ircnet" - IRC network where the DCC was initiated. + "mynick" - Our nick to use in DCC chat. + + "nick" - Other side's nick name. + "addr" - Other side's IP address. + "port" - Port we're connecting in. -dcc_type2str(type) - DCC type number to string + "arg" - Given argument .. file name usually + "file" - The real file name which we use. -dcc_str2type(type) - DCC type string to number + "size" - File size + "transfd" - Bytes transferred + "skipped" - Bytes skipped from start (resuming file) + "starttime" - Unix time stamp when the DCC transfer was started + +Dcc::destroy() + Destroy DCC connection. (!!) Dcc dcc_find_item(type, nick, arg) Find DCC connection. @@ -471,6 +482,16 @@ Dcc dcc_find_item(type, nick, arg) Dcc dcc_find_by_port(nick, port) Find DCC connection by port. +dcc_ctcp_message(target, server, chat, notice, msg) + Send a CTCP message/notify to target. Send the CTCP via DCC chat if + `chat' is specified. + +Dcc::dcc_chat_send(data) + Send `data' to dcc chat. + +Dcc item_get_dcc(item) + If window item `item' is a query of a =nick, return DCC chat record + of nick. *** Reconnects |