aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Irssi/Irc/Dcc.pod
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-07-16 19:32:51 +0000
committerTom Feist <shabble@cowu.be>2010-07-16 19:32:51 +0000
commit7c1e24dd5a3afe9c8c43e70c57b10b2a89d4d9e2 (patch)
treea95e3e3453e1dc7a182f838b6d7afab84eb92c19 /docs/Irssi/Irc/Dcc.pod
parentmoved process to ui namespace (diff)
downloadirssi-scripts-7c1e24dd5a3afe9c8c43e70c57b10b2a89d4d9e2.tar.gz
irssi-scripts-7c1e24dd5a3afe9c8c43e70c57b10b2a89d4d9e2.zip
more fixing and moving
Diffstat (limited to 'docs/Irssi/Irc/Dcc.pod')
-rw-r--r--docs/Irssi/Irc/Dcc.pod72
1 files changed, 72 insertions, 0 deletions
diff --git a/docs/Irssi/Irc/Dcc.pod b/docs/Irssi/Irc/Dcc.pod
new file mode 100644
index 0000000..d7ab4a3
--- /dev/null
+++ b/docs/Irssi/Irc/Dcc.pod
@@ -0,0 +1,72 @@
+__END__
+
+=head1 NAME
+
+Irssi::Dcc
+
+=head1 FIELDS
+
+=head2 C<Dcc->{}>
+
+ type - Type of the DCC: chat, send, get
+ orig_type - Original DCC type that was sent to us - same as type except
+ GET and SEND are swapped
+ created - Time stamp when the DCC record was created
+
+ server - Server record where the DCC was initiated.
+ servertag - Tag of the server where the DCC was initiated.
+ mynick - Our nick to use in DCC chat.
+ nick - Other side's nick name.
+
+ chat - Dcc chat record if the request came through DCC chat
+ target - Who the request was sent to - your nick, channel or empty
+ if you sent the request
+ arg - Given argument .. file name usually
+
+ addr - Other side's IP address.
+ port - Port we're connecting in.
+
+ starttime - Unix time stamp when the DCC transfer was started
+ transfd - Bytes transferred
+
+=head2 C<Dcc::Chat->{}>
+
+ id - Unique identifier - usually same as nick
+ mirc_ctcp - Send CTCPs without the CTCP_MESSAGE prefix
+ connection_lost - Other side closed connection
+
+=head2 C<Dcc::Get->{}>
+
+ (..contains all the same data as core Dcc object..)
+ size - File size
+ skipped - Bytes skipped from start (resuming file)
+
+ get_type - What to do if file exists?
+ 0=default, 1=rename, 2=overwrite, 3=resume
+
+ file - The real file name which we use.
+ file_quoted - 1 if file name was received quoted ("file name")
+
+=head2 C<Dcc::Send->{}>
+
+ (..contains all the same data as core Dcc object..)
+ size - File size
+ skipped - Bytes skipped from start (resuming file)
+
+ file_quoted - 1 if file name was received quoted ("file name")
+ waitforend - File is sent, just wait for the replies from the other side
+ gotalldata - Got all acks from the other end
+
+=head1 METHODS
+
+=head2 C<destroy>
+
+Destroy DCC connection.
+
+=head2 C<chat_send $data>
+
+Send `data' to dcc chat.
+
+=head2 C<ctcp_message $target, $notice, $msg>
+
+Send a CTCP message/notify to target.