Is there a functional TCL script for fserv? I'm using jircserv right now but it doesn't seem to work correctly. The timed advertising doesn't work. It only does onjoin advertising. I have to use another advertising TCL script seperately for timed ad. Also, I set this line:
# What is the max amount of transfers the bot will allow per user?
# The total amount of sends and gets will not be permitted to exceed this.
set dvs_fserve(maxtrans) 1
4 people could download it at a time although I set that line to 1. This is a bug.
The last thing is it doesn't repeat its ad to the public command "!list" in the channel like all other windows fserv clients.
Thanks,
cub
In regard to the timed ad, you probably set it up wrong. I used jircserv a few times and the ads worked.
And with the maxtrans setting, it says "max amount of transfers per user". If you want to limit the global number of sends, check the config file, there's a setting for the filesys module that controls it.
1) The timed ad:
I have this setting in the jircserv.tcl
# [0/1] Should the bot have a timed advertisement to its channels?
set dvs_fserve(ad) 1
# How many minutes should delay between advertisements be?
# Yes, fractions (such as 0.2, 1.5, etc.) are allowed.
set dvs_fserve(ad_delay) 20
I thought that's all for the timed ad, unless there's more.
2) With the global number of sends
I found this in the main bot config
# Set here the maximum number of people that can be in the file area at once.
# Setting this to 0 makes it effectively infinite.
set max-file-users 5
But that's the number of users to be in the filesys at a time, not the number of sends globally (for all users). Please advise.
Thanks,
cub
1. Isn't there a setting for which channels to advertise in?
2. I forget how jircserv works. Aren't all users on the fserve tied to one real bot user? So change the max-dloads variable in the config file (egg, not jircserv).
If you give up on jircserv, don't hesitate to write a new one. Eggdrop really needs a better fserve script I think. You know a feature I would like? If a user is downloading big files and they're taking forever, cancel them every 10 or 15 minutes and move them to the back of the queue (for auto-resume). That way, other people who want to download smaller files can go ahead and get them done, and the 300 meg movies can take days to complete with no ill effects.
Or instead of cancelling them it could drop the CPS down to about 10 while it sends files to other people. Then when the small files are done, it returns to normal speed.
1) I already specified the channel for the timed ad
# Which channels should the bot have an onjoin message/advertise on?
set dvs_fserve(channels) {
#MyChannel
}
At first, I thought the "#" would comment out the channel, but since it was inside { } , it shouldn't ignore the channel name. The bot did the onjoin advertise just fine, just the timed ad is not doing correctly.
2) I am not aware of all users being tied to one real bot user. Do you happen to know what real user is it? The configuration part of the script jircserv.tcl doesn't have that user info at all.
Yes, the feature you mentioned would be great. I wouldn't be hesitate to write a new one if I knew TCL.