//------------------------------------------------\\ || Creating a Xdcc offer bot for irc || || By: Lord Somer(webmaster@lordsomer.com) || || on August 4, 1997 || || For: The Hackers Club || || http://www.hackersclub.com/km/index.html || || and || || The Hackers Layer || || http://www.lordsomer.com || \\------------------------------------------------// First of All grab the below two files: http://www.lordsomer.com/files/irc/xdcc/fp.irc http://www.lordsomer.com/files/irc/xdcc/screen-3.tar Reqs: 1 Telnetable Shell with a compiler either cc or gcc and irc installed 2 Above Files 3 The Stuff you want to offer Now Onto Installation: Telnet in after upping those to files, and go to the dir you upped them to tar -xfv screen-3.tar go into the dir made by tar(screen-3.7.2) (Next 4 lines are seperate lines you type into the prompt followed by enter) ./configure ./make ./screen irc Once in Irc Do the following /server irc.gate.net /nick yourbotnick /join #warez.somer /load fp.irc /offer (it asks for path to your file, enter in full path unless you were smart enough to start doing this in your warez dir.) (With the path set, now enter in a description like Memphis Beta 1) (Then a note should be like Offered by LordSomer or a descrip of the prog or just hit enter) Repeat the above commmand till you have them all entered in /xdcc minspeed 1.0 /xdcc list (You should see your list of warez be offered by the bot.) /ptime 4 (This is num of minutes betweeen auto listings) /pchannel #warez.somer (This is how you add chans you want to have the list auto offered in.) /xdcc save /save (These will save your settings but if you restart it you'll need to redo the ptime and pchannel, pretty stupid aint it?) hit CTRL+a then d it will detach you from the whole irc thing you can logout of the shell and your xdcc will still run. If your bot at anypoint in time dies just log into your shell go to the dir you put screen in and type ./screen then cd .. then irc Once in Irc Do the following /server irc.gate.net /nick yourbotnick /join #warez.somer /load fp.irc Then just reset your pchannel and ptime settings. hit CTRL+a then d it will detach you from the whole irc thing you can logout of the shell and your xdcc will still run. Say ya wanna edit something and you've already logged out.... just log back in and do screen -list from the dir you installed screen in it'll list all screens find the one that has (DETACHED) on the end and do ./screen -r (the on that was detached) and your back in irc and just do the above steps like usual. Additional Info: List of Xdcc Commands: +----------------------------------------------------------------------+ | Phoenix Version 2.27 by Vassago - XDCC Commands | +----------------------------------------------------------------------+ | /XDCC LIST <#> - to get a list of your packs offered. | | /XDCC SEC - Turns XDCC Security ON or OFF. | | /XDCC NOTICE - to make a public notice that you are offering files. | | /XDCC PLIST - to offer your file list to the channel. | | /XDCC SEND - to send files. | | /XDCC PSEND - to send packs. | | /XDCC GET - to get files. | | /XDCC CLOSE - to close files. | | /XDCC STATUS - to get XDCC status. | | /XDCC OFFER - to offer files to people. | | /XDCC DOFFER - to remove files from offered list. | | /XDCC FILE #X - to add/change the file(s) on pack #X | | /XDCC DESC #X - to add/change the desc on pack #X | | /XDCC NOTE #X - to add/change the note on pack #X | | /XDCC PMIN #X - to add/change the minspeed on pack #X | | /XDCC LOAD - to load offer-file FILENAME. | | /XDCC SAVE - to create an offer-file FILENAME. | | /XDCC AUTOGET - when on, automatically get any file sent to you. | | /XDCC AUTOCHAT - ON, ASK, or CLOSE. Automatically handle CHATs | | /XDCC AUTODCCVOICE - Voices people with DCC in nick when they join | | /XDCC AUTOCLOSE - when on, automatically refuse any file sent to you.| | NOTE: Overrides /autoget | | /XDCC AUTOSEND - when on, automatically sends files on XDCC SEND msg.| | /XDCC OVERWRITE - to switch Autoget Overwrite ON/OFF. | | /XDCC AUTORENAME - toggles AUTORENAMING of existing files, if | | AUTOGET is on. | | /XDCC ULDIR - to set your XDCC upload directory. | | /XDCC DLDIR - to set your XDCC download directory. | | /XDCC LIMIT - to set your XDCC AUTOSEND limit. | | /XDCC MINSPEED - to set the minimum autocancel rate. | | /XDCC TIMELIMIT - to set the maximum time for an XDCC SEND | | /XDCC QMAX - to set the maximum number of people in the Q | | Also see /PHELP QUEUE\ | +----------------------------------------------------------------------+