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.

difference between pub and ctcp bind?

Old posts that have not been replied to for several years.
Locked
p
prizm

Post by prizm »


I have this code working:

bind pub - !test dvs_fserve:fserv:init

proc dvs_fserve:fserv:init {nick uhost hand chan text} {

But I want to bind it to ctcp instead. Changin pub to ctcp doesnt work. What do I need to do? I looked in tcl-commands.doc:

bind ctcp <flags> <keyword> <proc>
proc-name <nick> <user@host> <handle> <dest> <keyword> <arg...>

this doesnt seem to work either..
p
prizm

Post by prizm »

I got it to work.

For those interested:

bind ctcp - !test dvs_fserve:fserv:init

proc dvs_fserve:fserv:init {nick uhost hand dest keyword txt} {


One other thing though, No one outside of localhost can dcc the bot, they get a connection refused. Yet they can dcc my b/x client that runs on the same box. Could this possibly be an eggdrop config problem?

<font size=-1>[ This Message was edited by: prizm on 2002-06-12 16:09 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

yes. bot doesn't know its own ip. the value of my-ip in the conf determines this.
Locked