This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Make DCC chat connection to external bot?

Old posts that have not been replied to for several years.
Locked
e
eger
Voice
Posts: 2
Joined: Thu Aug 11, 2005 2:25 pm

Make DCC chat connection to external bot?

Post by eger »

Wondering if it might be possible to make a DCC CHAT connection to another bot such as an iroffer fileserver or other user from script?

I'm interested in trying to write an eggdrop script to connect to an iroffer bot and do a command from an eggdrop. But the iroffer bot only support DCC CHAT.

Are there any tcl commands that can do something like this? If so where might I find some examples of external dcc chat scripts?

Thanks!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

set port 5678
listen $port script grab
proc grab idx {control $idx handler}
proc handler {idx text} {
# here comes your stuff
}
putserv "privmsg irofferbot :\001DCC CHAT chat [myip] $port\001"
e
eger
Voice
Posts: 2
Joined: Thu Aug 11, 2005 2:25 pm

Post by eger »

pretty much exactly what i asked for.

thanks a bunch!!!!
Locked