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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
emophobic
- Voice
- Posts: 2
- Joined: Fri Jul 06, 2007 12:51 pm
Post
by emophobic »
something like when I type /msg bot chat
The bot will dcc me.. I tried /ctcp <botnick> CHAT but the network doesn't allow
shhh.. be quiet, the mice are sleeping
-
Anansi
- Voice
- Posts: 16
- Joined: Mon Jul 02, 2007 8:03 am
Post
by Anansi »
In your eggdrop.conf, replace
by
Code: Select all
set myport 55555
listen $myport users
Where 55555 is the port you want to use.
Then add the following tcl:
Code: Select all
bind msg p !chatme sendinvite
proc sendinvite {nick usermask handle chan text} {
global myport
putserv "PRIVMSG $nick :\001DCC CHAT chat [myip] $myport\001"
}
Your IRC client will understand this CTCP request as a request to initiate a DCC Chat connection.
Last edited by
Anansi on Sat Jul 07, 2007 9:12 am, edited 3 times in total.
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
The code is \001.
Code: Select all
putserv "PRIVMSG $nick :\001DCC CHAT chat [myip] $myport\001"
-
Anansi
- Voice
- Posts: 16
- Joined: Mon Jul 02, 2007 8:03 am
Post
by Anansi »
Didn't know TCL supported escape ^^ Usually I include the actual characters in the script.
Aditionally, it may make more sense to replace that "o" with a "p" in the bind command.