CCCP scripts
------------


seen.pl
-------
irc !seen script. Will output last time a users was seen on DC.
dc clients can send both private and public dctc messages. if 
bot gets a private message the response will be in private.

seen.pl uses dctc.log for parsing out times.

usage:
./seen.pl 
./seen.pl <dctcclient>


chat
----
Simple script that outputs all chat and priv messages.
usage:
./chat

deletequeue
-----------
Simple script that deletes all queued commands.
usage:
./deletequeue

delqueueask
--------
Interactive script that will ask you what queued commands to kill.
usage:
./delqueue


dlrobot.pl (startrobot)
----------

dlrobot will monitor a search query and repeatedly try to download
all hits. If a file is allready in the done directory. The file
will be ignored.
 
usage:
1. Edit the startrobot script with your search query and filter
./startrobot


dlsearchresult
--------------
This a usefull script that I use often. It will download a query
returns from a cccp -s. 

usage:
cccp -s some search querey 1 | ./dlsearchresult

listall
-------

List all files from all users

usage:
./listall

searchspider
------------
This script will connect to all hubs and do a query then go to the next
hub in the list.

You need to edit the script to add your query.

usage:
./searchspider

sorthublist
-----------
This small script will sort a hublist command by number of users in it.

usage:
./hublist | ./sorthublist

seg_new_add
-----------
This script will create a new groupdownload and add all files 
that are piped to it.

usage:
cccp -s somefile 1 | grep <filesize> | ./seg_new_add

note: the example with grep is to make sure all the files from
the query are the same.

seg_add
-------
This script will add files to a already running group.

usage:
cccp -s somefile 1 | grep <filesize> | ./seg_add <gdlid>

gdlid can be optained with the cccp -ql command.

seg_list.pl
-----------

This script will make a readble output for all segmented
download groups.

