Hi everybody!
We've have user a windows server before where ircd was running but now we upgraded to linux and I'm messed up. We used a mirc client acting as a bot which had only this single script:
Could anybody of you rewrite this script into a tcl so it could run on eggdrop, please. I've tried to do it by myself but everything goes wrong because I'm lame at this. I need only this script, nothing more.. please help somebody. It would be glad to get off somebody a good responce. Thanks!
absolutely right! If a user who has ident cht-v3.1 or off comes to channel main, bot sends him the file vkt.ini and puts his address into a listso if the same user comes to channel again, bot won't send him the file again.
I think I'm having problem: when a person joins, it claims: [19:07] TCL error [join:pub]: invalid command name "dccsend". What should I do? And the last my question is: I want to send the file only for people having ident "cht-v3.1" and "off" but not for all? Where can I set it?
What is the point on the while when he just asked for an ident match and send a file? Also, if you want to stop an while proc just use "break" or "continue" to continue with the loop. I honest do belive that this dcc send thing is not secure and I do not recomand you go only via idents matches. better make host masks matches or something similar. Anyway.. you wanted it so here it is.
Is that file system module loaded? What version of eggdrop and TCL you have? Also, haven't noticed the specific channel you want this to run on so replace this:
THX! I've put there filesys and transfer modules and it's working!! thx guys, you're perfect but still.. it would be very good to do that the script would send the file only one time because this will work on a LAN chat were are about 700 lame users who very dislike seeing the message 'dcc send file.txt' in their status window.. I've messed up trying to join those two scripts together