English 1.1 dccserv & Slackster `` ``How you can create a language file for SDClone ? `` The language file name is define as "sdclone-lang-" + country tag + ".txt" `` The fastest way to do this is simply copy a existing file to the new one. `` example: creating fr (french) version with gb (english) one `` cp sdclone-lang-gb.txt sdclone-lang.fr.txt `` cp sdclone-skin-gb.txt sdclone-skin.fr.txt <- don't forget the skin must also exist & be translate `` Then fill the information in the first 3 lines like that : `` The language `` The SDClone version number the file is for `` The Author(s) (the maker) of the language file `` Warning: it's really important that the first 3 lines aren't removed or else you get an invalid file `` To use it as default language edit SDClone-x.x.pl file and change $SDLang="country tag"; (ie: $SDLang="fr";) `` You can put comments in it (except before the first 3 lines...), a comment line is a line that start with `` `` Remember YOU MUST have a skin & a language file in order to make it works (sdclone-skin-??.txt & sdclone-lang-??.txt) `` `` Not every words are reused ! Except when written, if a word appears 2 (or more) times in SDClone, the script won't reuse `` the first translation. It eats up a little bit more memory like that, but it avoids a possible bad translation that could `` happen. Why ? Look a bad translation from GB to FR : `` GB=Slots <> FR=Slots `` GB=Free <> FR=Libres `` Reusing Free & Slots gives -> GB=Free Slots <> FR=Libres Slots >>> is a bad translation, the correct one is FR=Slots Libres `` I Hope you understand now `` `` I have put comments to help translators as much as i can. ALSO : `` Skins & language can be tested with commands in SDClone `` "/sdshowskin value" - Show the skin number "value", "value" is given with the skin, look for the number in the skin `` "/sdshowword value" - Show the language line number "value", so you can see how it will look `` `` Sometimes you will see special words, do not translate them !!! the script uses it !!! `` example: /sdstatus or variable like %%SDqueSize%% `` `` Let's start `` This word is reused ! Used to assign a default value to many vars none `` This word is reused ! It's the abbreviation of "character per seconds" cps `` This word is reused ! It appears many times, and won't pose a problem lines `` These words are reused, just to report a problem with a file Problem saving file ! `` Reused, Write it in Uppercase, the script will lowercase it, when it's needed YES `` Reused, Write it in Uppercase, the script will lowercase it, when it's needed NO `` Reused, Write it in Uppercase, the script will lowercase it, when it's needed ON `` Reused, Write it in Uppercase, the script will lowercase it, when it's needed OFF `` Also reused, error message File not found ! `` Reused, after loading a file File loaded... `` Reused, after saving a file File saved... `` I reuse the "I don't have the file" I don't have the file `` words in sd_run OFF : script disable, no action END : sending files in que, no more requests QUE : accepting requests but don't send files ON : everything is on Script is in mode Script is now ON Script is now OFF Script is set to END mode Script is set to QUE mode `` words from sd_set_function Setting dynamic slot to type with a value of Setting minimum slots to Setting maximum slots to Setting Que by Nick to `` words from sd_show_help NEED HELP ???????????? Type /sdhelp subject to get more help Common commands to SDServer & SDClone - sdclone : Put the script on/off/que/end - sdset : Changes variables - sdque : Viewing your que - sdkillque : Kill user/files from your que - sdfriend : To add multi-files in your que - sdlist : To build your list - sdstatus : To see current script parameters - sdban : To ban a user - sdunban : To unban someone - sdbanlist : To view the list of ban users - sdjoin : To join a channel - sdleave : To leave a channel - sdsay : To say something to someone or a channel - sdsaychannel : To say something to all serving channels - sdpub : To force output of your banner - sdstartserve : To serve in a channel - sdstopserve : To stop serving in a channel - sdcontrolsend : To modify the Control Sends function - sdsend : To immediatly send a file present in your que - sdstopsend : To stop all current sends - sduserinfo : To get more informations about a user - sdclearusers : To remove infos about users that have never download a file - sduptime : To output your uptime stats - sdcustomads : To output the skin #5 Specifics commands to SDServer - sdgetslots : as -slots but not in a channel window - sdgetstats : as -stats but not in a channel window - sdgetinfo : as -info but not in a channel window - sdconnect : To establish a connection with the client computer - sdclient : To change nick of computer to control - sdircserver : To get the irc server we are on Specifics commands to SDClone - sdswitchlanguage : Switch SDClone to another language - sdshowword : To see a traduction line - For Debug - sdshowskin : To see a skin number - For Debug `` The next empty lines are reserved - DO NOT TOUCH `` This is language specific format for date `` you can create date format using special keywords `` da - return day, 1 number if day < 10 `` dd - return day, 2 numbers if day < 10 `` mo - return month, 1 number if month < 10 `` mm - return month, 2 numbers if month < 10 `` ms - return month, as string (1..12 = january..december -> dependant on language too) `` yy - return year last 2 numbers `` yyyy - return year in 4 numbers `` Short date format string ms, dd `` Full date format string ms, dd, yyyy `` Full date format number mm-dd-yyyy /sdswitchlanguage countrycode This is a SDClone only command ! This changes the current language used in SDClone on the fly ! countrycode is for example : fr, gb, es... Displays status of the script, important options are show ! This can be usefull to debug or understand something. This just helps you keep control. `` do not translate/remove the word "/sdstatus", as it is a command, it will not be translated ! Do /sdstatus NOW and look Build your list The first time will setup a lot of stuff... Hopefully you don't have to take care of it Some information will be output, check that your number of files share is more than 0 ;-) Most common problem is that a malformed directory in the $mainDir variable result in a 0 files share - the directory in $mainDir MUST be accessible - the directory in $mainDir is CaSe dependant (remember it's Linux) - check twice time the option of $followLink to be sure of what you are doing ! `` again don't touch "/sdfriend", it's a command, no translation is needed, this is last time i warn on that /sdfriend nick file Load a list of files for nick in your que... nick & file MUST be pass to sdfriend or else... This function is used to add a lot of files in your que for a nick (generally doing that for a friend) example: /sdfriend dccserv /home/dccserv/filestosend.txt - Add everyfiles in filestosend.txt for dccserv The file format must be a text file with LF or CR/LF at end of every line And the content of a line is simply the filename to add (with or without your trigger) Files are checked for presence (to avoid mistake), BUT que limit is bypassed, so adding 10 files in a limited que of 2 files by user will add the 10 files `` Leave the next line empty...this creates an... empty line too ;) A sample file content `` no need to translate here, it's just filenames The Corrs DVD Live at Lansdowne road - 19 - Toss the feathers.mpg <- file without trigger Dead Can Dance - Aion.jpg <- your trigger + the filename Fleetwood Mac - Tusk.mp3 Note about using /sdfriend with SDServer: You can use that command with SDServer, but remember that the filename to give is relative to the path on the client harddisk ! Not on your computer !!! So: You must know the directory where the file is on the client computer to make it work Here's a example to make that operation works. - The client computer is DCCSERV (the one that have SDClone) - The server computer is DCCMASTER (the one that have SDServer) - The file with filenames to load is "fileList.txt", the person for who you want add files is ANDROIDS - DCCSERV saved his downloads in /usr/incoming (that option is on xchat -> Configuration Menu -> Files Transfert -> Saving Directory) Step 1: DCCMASTER send the file "fileList.txt" to DCCSERV Step 2: DCCMASTER do "/sdfriend androids /usr/incoming/fileList.txt If in xchat you have check the option "Save file with nickname" (again in Configuration Menu -> Files Transfert -> -> Save file with nickname) Step 2: DCCMASTER do "/sdfriend androids /usr/incoming/dccmaster-fileList.txt" /sdjoin #channel Join the channel, this works under SDClone but it's of course primary for SDServer /sdleave #channel Leave the channel, this works under SDClone but it's of course primary for SDServer /sdsay [#channel] [nick] text - Say *text* to [#channel] - Say *text* to [nick] This might be useful sometimes. /sdsaychannel text Say *text* to all channels where we serve files This might be useful sometimes. `` I will reuse This as a SDServer only Command anywhere it should be This is a SDServer only command ! This establish a link with the client computer running SDClone to control it. This command is execute at start of SDServer, so you should only use it when SDServer told you to. /sdclient nick With that command you can change the nick of the computer to target for control. Useful if the client computer has disconnect/reconnect and change its nick /sdkillque [nick] [file] Kill a file from your que. - Without anything : Kill every files in your que - With [nick] : Kill every files for [nick] in your que - With [nick] [file] : Kill [file] for [nick] in your que Display the current irc server where we are connect. Force display of your banner ads in all serving channel. This command does exactly like if the SDServer as request -slots to our client. The difference is that SDServer don't need to write it on a channel to execute it This command does exactly like if the SDServer as request -stats to our client. /sdstartserve #channel This add #channel to our list of serving channels The result is that you serve to another one channel Note: if auto-join is enable, the channel will be joined. /sdstopserve #channel This removes #channel from our list of serving channels Note: even if auto-join is enable, we will not leave the channel. You must use /sdleave for that. Use to alter how dynamic slots works `` beware to not remove the space (so look is nicer) #1 - Is the method to use for Dynamic Slots, numeric values are: 0 - Record Send / 2. -> with Top Record=16000cps, open a slot if speed is < 8000cps 1 - Record Send - #2. -> with TR=16000cps and #2=4000cps, open a slot if speed is < 12000cps 2 - #2 speed -> with #2=9500cps, open a slot if speed is < 9500cps #2 - Set the Value for options 2 & 3, even if you choose option 1 you MUST give a value to #2 ! Use to change value of the min & max slots #1 - Minimum slots - should be a numeric value, don't put it too high ! #2 - Maximum slots - should be a numeric value, don't put it too high ! Change how many files a user can put in que #1 - Que by users /sdgetinfo file This command does exactly like if you have request -info to ourself. You will get informations on a file in your list with that command The difference is that you don't have to request it in a channel /sdshowword line display the "line" number of the internal table holding traduction. This is primary for debug ! Display the skin number # It's a helper for skin's makers - This is primary for debug ! Skins # are given here - 1 = The Banner Skin (your ads) - 2 = The Stats Skin (answer to the query @nick-stats) - 3 = The Daily report Skin (show in channel everydays) - 4 = The Slots Skin ( answer to the query !nick-slots) /sdcustomads ON|OFF Send to all serving channels the message define in the skin file (as skin #5) ON - The message will be display OFF - Stop the function /sduptime This just ouput to a channel your uptime This function erase from your harddisk (so getback some free space) users that have never download a file. So you loose informations collect on them, like: number of request done to the server... `` Again empty lines are reserved ! DO NOT CHANGE `` words from sd_build_list Please wait... building the list from directory List length `` First appearance of variable, you can move them anywhere `` example: List of files built with SDClone (version %%SDVersion%%), %%SDAuthor%% create it ! `` example = List of files built with SDClone (version 1.0), dccserv create it ! `` default = List of files made with SDClone v1.0 by dccserv List of files made with SDClone v%%SDVersion%% by %%SDAuthor%% To request a file just copy/paste into the channel MOTD length Files in directories found %%SDFilesShare%% files found in seconds. `` eheh fps means Files Per Seconds ! not frames ;-) fps bytes share removing old list List List is ZIP List is ready References built... `` Next is when SDClone report something to SDServer I have done `` words from sd_analyse do your request in a channel !!! listen i don't answer to that stupid search ! `` yeah baby, is said when a banned user requests something from us You are ban from my server. I'm not accepting requests now. %%SDLow%%Commands available from %%SDHigh%%SDClone v%%SDVersion%% %%SDLow%%Enter all commands in the channel window. %%SDHigh%%@%%SDTrigger%%%%SDLow%% To get my list. %%SDHigh%%!%%SDTrigger%% %%SDLow%% Request be sent to you. %%SDHigh%%!%%SDTrigger%%-info %%SDLow%% Request more informations about . %%SDHigh%%!%%SDTrigger%%-slots%%SDLow%% To see my current transfert. %%SDHigh%%@%%SDTrigger%%-stats%%SDLow%% To see my send stats. %%SDHigh%%@%%SDTrigger%%-language%%SDLow%% To see the list of country codes avaiables. %%SDHigh%%@%%SDTrigger%%-language countrycode%%SDLow%% To change the language i use to talk to you. %%SDHigh%%@%%SDTrigger%%-leech%%SDLow%% To get your downloads statistics %%SDHigh%%@%%SDTrigger%%-server%%SDLow%% To see the server i'm on. %%SDHigh%%@%%SDTrigger%%-que%%SDLow%% To see what you have in my que. %%SDHigh%%@%%SDTrigger%%-remove%%SDLow%% To remove ALL of your requests from my que. %%SDHigh%%@%%SDTrigger%%-remove %%SDLow%% To remove your request for from my que. %%SDHigh%%%%SDFindTrigger%% %%SDLow%% To find filenames that I have that match `` Rest in peace SDSailor, please translate it but don't remove/change that line %%SDHigh%%SDClone%%SDLow%% is a clone of the famous %%SDHigh%%SDFind%%SDlow%% by %%SDHigh%%SDSailor Function not supported I'm on server%%SDHigh%% %%SDHigh%%%%SDList%%%%SDLow%% is on its way ! I'm too busy to send my list to you now, please retry a little bit later. I'm making a new list, please retry later... NOTE: I'm not sending files now, but i'm still accepting requests so you can reserve your place in my que. Information about Filesize bytes `` Type is the File type (jpg, mp3, video...), it's the answer to @nick-info, it's not "Type" like "Enter" ok? Type `` words from sd_friend_que Adding a list of files for user i have add many files for you in my que. `` hard to read -> it's @trigger-que you can do %%SDHigh%%@%%SDTrigger%%-que%%SDLow%% to see them. --- Adding --- Added to position `` words from sd_build_list I'm building the list !!! Wait a few... `` words from sd_check_stats -> SKIN -> Most translation for that part is in the skin file ! `` words from sub sd_view_que Que size : %%SDQueSize%% `` file as filename file Waiting `` words from sd_check_buffer -> SKIN -> Most translations for that part is in the skin file ! Daily record reset. `` words from sd_check_slots `` it's really -> BANG ! user has just broken the record with xxxcps ! BANG ! has just broken the record with `` words from sd_query_remove Cleaning the que... Removing all files for I have removed all your requests from my que has been removed from my que `` words from sd_nick_view_que You have no files in my que `` it's really -> You have a total of xx files in que files in the que Do not recheck my que within 5 minutes or you will be banned from my server. `` words from sd_que_control Small file detected, the file will be sent to you in less time. `` It's really -> After waiting xxx filename is coming... After waiting is coming... Removing an old request `` words from sd_add_que `` it's really -> filename is already in my que ! is already in my que ! You are not allow to add more files in que ! `` it's really -> filename has been added to position x has been added to position this is the last file you can request. `` it's really -> You can request x more files You can request more files. The file has not been added to my que ! `` words from sd_load_cfg Config `` words from sd_load_que `` it's really -> Que - File loaded... x files are in que Que %%SDQueSize%% files are in que `` words from sd_shutdown Saving vital files... `` words from sd_banner -> SKIN -> check the skin file to translate that part `` words from sd_find_request `` it's really -> I have found x files that match your search: thesearch %%SDLow%%I have found %%SDHigh%% %%SDLow%%files that match your search : %%SDHigh%% `` it's really -> Too much results ! Only x files will be display. Getting of my list @trigger is recommanded Too much results ! Only files will be display. Getting of my list %%SDHigh%%@%%SDTrigger%%%%SDLow%% is recommanded To request a file just paste it into the channel `` words from sd_get_status `` eheh enjoy i have put everything in it, so you can customize as you like ------------------ | SDClone Status | `` should be ------------------ but i reuse the upper one :-) END - finish files in que QUE - accept files in que `` it's really -> SDClone version x - first use x-x-xx - Status: x SDClone version %%SDVersion%% - first use %%SDFirstDate%% - Status When script goes OFF, say something to channels List is %%SDList%%, with %%SDFilesShare%% files in it from directory List is not compressed List is compressed (ZIP) `` it's really -> List is x (zip or uncompress) - You have sent it x times You have sent it %%SDListSent%% times Warning: Symbolics Links are follow !!! Serving in channels Que by nick / Users in Que / Que in use / Que Max `` it's really -> Find Trigger: @find, Find is ON, Find display x answers Find Trigger : %%SDFindTrigger%%, Find is %%SDFindStatus%%, Find display answers `` display mode of dynamic slots Record Send / 2 Record Send - DynamicValue DynamicValue Dynamic Slot is set to Dynamic Value is set to Top Record send is %%SDTopCPS%%cps by %%SDTopNick%% - Todays Record send is %%SDDailyCPS%%cps by %%SDDailyNick%% Speed - Upload / Download / Total : %%SDcpsUP%%cps / %%SDcpsDOWN%%cps / %%SDcpsTOTAL%%cps A new slot will be open if send speed is lower than Daily report `` it's really -> Daily report will be made in xx secs will be made in secs Slots Open / Slots in use / Slots Min / Slots Max Bot mode Latest known server `` words from sd_logging I can't add anything to log file ! Disk full ? `` words from sd_load_ban Ban users are ban `` words from sd_ban added to ban list... You have been banned from my server ! `` words from sd_unban Removing the ban status for `` words from sd_banlist List of ban users `` words from sd_user_join `` it's really -> Que has been restore. I have x files for you waiting in que Que has been restore. I have files for you waiting in que. `` words from sd_master Received a control query from Bot mode is off. `` it's really -> xxx Unknown command. I'm using SDClone version xx Unknown command. I'm using SDClone version %%SDVersion%% `` words from sd_show_slots -> SKIN -> check the skin file `` it's really -> sending: nickname == xxcps == Size: xxx == File: xxx `` and -> getting : nickname == xxcps == Size: xxx == File: xxx `` Using the 4 following words to create both %%SDLow%%Sending : %%SDHigh%% %%SDLow%%Getting : %%SDHigh%% %%SDLow%% %%SDSpacer%% File : %%SDHigh%% %%SDLow%% %%SDSpacer%% Size : %%SDHigh%% `` words from sd_Say I have said `` words from sd_SayChannel I have said to all serving channels `` words from sd_Join I have join `` words from sd_Leave I have left `` words from sd_wrong This is a command only for SDServer ! `` words from sd_add_serving_channel I am already serving files in Now serving files in channel `` words from sd_del_serving_channel I am not serving files in I have stop serving files in January February March April May June July August September October Nomvember Décember Short -que request Reason `` Following is from sdhelp put there to re-take space i need to update help of /sdfriend /sdban nick reason Just add nick to the ban list, so he can no longer request something /sdunban nick Only stupids never change their mind ! We aren't stupids, right ? That's why this function can remove a banned user and get it back to a normal status This just list all the users that are ban : Yeah it's the HALL OF LAME list /sdclone [option] Without [option] display the script actual status : with [option] `` Warning DO NOT TRANSLATE on, off, que & end -> else user might get a bad help ! `` "/sdclone on" will put the script on, but "/sdclone ??" (??=traduction of "on" to another word) WILL NOT OF COURSE !!! on : Enable the script off : Disable the script que : Continue to add files in que == Disable sends & banner, but enable @find, list sending, adding a file in que end : Finish files in que == Disable adding files in que, banner, @find & sending list, enable sending files from que. note: when in *que* mode the script send a message to inform the user that he will not get a file /sdque [nick] Display the files waiting in the que If [nick] is pass then display only files in que for that nick /sdcontrolsend [option] Stop a file send if the user is no more "visible" by the script. A user is called "visible" when he is in a channel in common with you and you are serving files in it. So if that condition isn't true, he becomes "invisible" and the script will stop the file sending. A user could pass from a "visible" state to an "invisible" one in that conditions : - He or you has disconnect - He have changed his nick - He or you are on a split - He or you have leave ALL the channels where you were serving files - You have stop serving files in all channels that you had in common Ok it doesn't seem clear, but it's simple, look - BOB is in channels #A & #B. You are in #A & #B and you serve files in #A but not in #B - BOB becomes "invisible" if - You do /sdstopserve #A or /part #A or /sdleave #A - BOB do /part #A, /quit, /nick BOB_away Here are the possibles [option]: on : Send Control is active off : Stop that functionality auto: Do as the script. If the script is OFF, the function is OFF. If the script is in mode ON, QUE or END, function is ON. note: Using that function can generate a kind of bug, example: - Option is on AUTO and the script is ON or option is ON - You send a file to someone by hands - The person is in a channel where you don't serve files - You no more serve files in any channels (/sdstopserving #) The file send will be stopped, as that person will be "invisible". The script will signal you that problem only if you put the script OFF while the option is ON. List of avaiables languages. Do %%SDHigh%%@%%SDTrigger%%-language xx%%SDLow%% to change it: Unknow country code !!! New language selected It's the first time that you request something. A default language as been assign to you. You can changed it with %%SDHigh%%@%%SDTrigger%%-language Can't saved user preferences !!! Sorry that function is disable `` from sdcontrolsend Control Sends is WARNING: The script is OFF, but the Control Sends is still ON. Read the note "/sdhelp sdcontrolsend" All the current sends will be stopped... `` It's really: Stop sending of file xx for nick Stopping the send of file for Forced send of file `` Added to inform yourself a new send is starting Start sending file `` help about /sdsend Forced send of file number # present in the que. Normals rules are apply here (user must be on a channel where you serve files...) Except: Slots limits is bypass + script status is bypass (send the file even if the script is OFF). `` help about /sduserinfo /sduserinfo nick Allow you to get more informations about "nick" This command is really limited if $userTracking="false"; is set in the script `` help about /sdstopsend Stop ALL the current sends and reput them in your que. To note: If the script is in mode ON or END, it will simply restart the sends. So remember to put it OFF before it. `` stuff in sd_User_Getleech Date of 1st request Requests done to the server Requests for files Number of files download Total size download bytes `` stuff in /sduserinfo function Informations about `` use in sd_nick_change `` it's -> Change your nick back to %%SDHigh%%nick%%SDLow%% or you will... `` this is reused lower Change your nick back to %%SDHigh%% %%SDLow%% or you will not received the files you have in my que ! `` it's -> Nick change with files in que : xxx is now yyy Nick change with files in que : `` This is reused is now `` it's -> Change your nick back to %%SDHigh%%nick%%SDLow%% or i will cancel the send ! %%SDLow%% or i will cancel the send ! `` it's -> Nick change while uploading : xxx is now yyy Nick change while uploading : `` from sd_sendNow Forcing send of file to `` from sd_User_GetLeech Send record `` from sd_UserInfo normal unknown user ban Status Choosen language Known since Number of query Number of query for files Number of files download Last seen Files in que User is online bytes `` from sd_custom_ads Custom ads enable Custom ads disable That user is ban ! not found... `` from sd_check_que_cheat `` it's -> Found a duplicate ident (ident) for xxx and yyy Found a duplicate ident for and That user is cheating the que !!! Trying to cheat the que with `` Our stats on send complete -> You have now received xxx files from me, for a total of xxx files sent since... You have now received %%SDHigh%% %%SDLow%% files %%SDHigh%% %%SDLow%% from me, for a total of %%SDHigh%%%%SDFilesSent%%%%SDLow%% files %%SDHigh%%%%SDFilesSentSize%%%%SDLow%% sent since %%SDFirstDate%% This makes %%SDHigh%%%%SDListSent%%%%SDLow%% times I have sent my list, hope you find something you want ! `` From sd_clear_users Users found : Removing `` Stats use in sd_show_uptime %%SDLow%%OS: %%SDHigh%%%%SDOS%%%%SDLow%% %%SDSpacer%% Running: %%SDHigh%%%%SDUptime%% `` Add for our !seen system `` We build "I haven't seen NICK for xx message: quit... I haven't seen %%SDHigh%% %%SDLow%%since message:%%SDHigh%% %%SDHigh%%!seen %%SDLow%% To know the last time i saw that . is here ! `` END OF FILE :-)