blob: 270eab612e379c1f6d25dc0a9b1f7a29e56b65dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<html style="background:#bbb;">
<body style="margin: 100px auto; padding: 100px; max-width: 800px; background:#fff;">
<h1>xdcc.pl</h1>
XDCC script for <tt>irssi</tt>.
<p>
Run a fileserver. People can request DCC sends over CTCP.
<p>
Download it here! → → → <a href="xdcc.pl" style="color:blue!important"><i>xdcc.pl</i></a>
<p>
<h2>Usage</h2>
<pre>/XDCC [-add <i>filename</i> <i>description</i>] [-del <i>id</i>] [-list] [-stats] [-enable] [-disable] [-help]
-add: Add a file to our XDCC server
-del: Remove a file from the offerings
-list: Display the XDCC list (default)
-reset: Reset the file list and the queue
-stats: Statistics for this session
-enable: Enable the XDCC server
-disable: Disable the XDCC server
-help: Display this help.</pre>
Examples:
<pre>/xdcc -add sally.gif Jollo in his native habitat :)
/xdcc -add jollo.mp3 Distant cry of the Jollo, 5:43 am
/xdcc -del 1
/xdcc -stats</pre>
<h3>CTCP XDCC Interface</h3>
People can request files from you using these CTCP commands:
<pre>/ctcp <i>nick</i> XDCC list
/ctcp <i>nick</i> XDCC get 1
/ctcp <i>nick</i> XDCC batch 2-4 <i># request multiple files</i>
/ctcp <i>nick</i> XDCC remove 3 <i># remove from queue</i>
/ctcp <i>nick</i> XDCC queue
/ctcp <i>nick</i> XDCC help
/ctcp <i>nick</i> XDCC about</pre>
<h3>Queue</h3>
<ul>
<li> Only one file will be sent at a time.
<li> Additional requests are added to a queue, max 99 slots.
<li> If the requesting user goes afk and does not accept the file, the transfer will time out and advance the queue.
</ul>
<h3>Tips & Tricks</h3>
<ul>
<li> Turn on DCC autoget - <tt><i>/set dcc_autoget <b>ON</b></i></tt>
<li> The script will look for files in <tt><i>dcc_upload_path</i></tt> which is usually your home directory.
<li> Filenames should not contain spaces.
<li> Absolute paths are fine, only the filename will be shown.
</ul>
<h3>Thanks</h3>
Greetings to all on #sally and thanks as always to Khaled Mardam-Bey for inventing mIRCScript
<p>
<hr>
<i>Last updated 18 January 2015 — <a href="/dither/">Julie LaLa</a></i>
|