My problem is that how the eggdrop doesn't recognise the chat as a user dcc chat. What I mean:
User with nick xfer sends me a dcc chat request.
The eggdrop will not accept the chat if the user has no flag on it. How could I accept dcc chats from users that have no flags? Then when the dcc chat opens, how could the eggdrop don't recognised him as a user, because xfer is just an fserv (can't write a password, eggdrop mustn't send any msg which is a command for the fserv). Should I have to use sockets?
there is a good fserve tcl in the archive (but i got a newer version on my HDD somewhere), the DCC initialize commands etc from there should work for you script too..
on trigger it open a DCC to the one who triggerd..just take that part from the source and it should be fine...
What you are asking for is impossible by any normal standard (at this second).
Eggdrop uses a user/pass security system, where every incoming bot and user connecting is checked. As such, the fserv would need to send these details.
Quite why you want to connect the fserv to the bot in this way is beyond me.
However, if you wish to do somthing like this, it would need to be accomplised using sockets.