I am trying to allow remote access to an EggDrop from a non-EggDrop application. To do this I use a modified telnet client to connect to the EggDrop's "bots" port.
The problem is that the moment I connect, nothing happens. The owner of the EggDrop tells me there is some communication taking place but I do not know (nor does he) what exactly does the EggDrop I connected to expect from my application.
Can anyone please point me to any resources that would help me with this?
set openport [listen 4567 script init:connection]
proc init:connection {idx} {
# Send back 'connected' so you know you have a connection.
putidx $idx "CONNECTED"
control $idx init:connection
}
proc open:connection {idx var} {
# do yer thing here
}
set openport [listen 4567 script init:connection]
proc init:connection {idx} {
# Send back 'connected' so you know you have a connection.
putidx $idx "CONNECTED"
control $idx init:connection
}
proc open:connection {idx var} {
# do yer thing here
}
See tcl-commands.doc for details.
Where do I use this code and where do I get tcl-commands.doc?