hey everyone jut signed up here and i'm tring to write a script and need a little help plz.. i'm totally new to this stuff lol.... i know what i want it
to do just don't know how to do it. i've seen a similar script being used in 1 irc channel but can't find a script that does what i want it t do. k first
this script uses a FTP server, a eggdrop and a SQL database. The FTP is a glftpd source mod that allows it to read a alternative password file? what's
that mean and how do i find it i couldn't find anything like that. The eggdrop's TCL generates a random password, and takes the user's nickname and writes
it to the alternate glftpd password file. Upon login $user is stripped from the password file preventing the user from spreading his login info. The SQL
database keeps user information such as IP's, amount of files downloaded, how many kilobytes, etc. This is used to prevent users from abusing bandwith by
setting daily limits
heres how it should work... i think lol
the person does like /msg botnick !list or whatever u set the trigger to then the bot sends that person the ftp info ip address, port, it uses the persons
nick on irc as logon name and the password generated by the random password generator then that person uses that info to logon to the ftp site
the db keeps that persons ip address amount of files downloaded, how many kilobytes, etc. if that person tries to take to much it will keep his info in
the db just the nick, ip address, how much they downloaded, how many files they downloaded but ithe person won't be able to logon to the site cause they
will be banned if they take to much. if all goes good that person is deleted from the db.. i'd also like to make it so i can set how long to ban the
person like 1st offense 1 day ban, 2nd offense 2 day ban, 3rd offense perm ban but of course i want it so i can set it to what i want.
sorry for the long post but i wanted to make sure i explained how i want the script to work.. and i know this is a big project but i just can't do it
myself or i would.. or at least someone can point me in the right direction maybe someone knows a script like this i could modify?
thanks i'd really appreciate an help anyone can give me
thanks again,