I'm new to tcl but do understand the basics. I'd like to create a script to have my eggdrop /oper on my network and and catch server msgs and relay them to a particular channel. Although this is rather easy to do with normal irc clients (ie mirc) I'm not sure of how to do this with an eggdrop. Any help, suggestions or tutorial links would be greatly appreciated.
EDIT -- I just realized I put this in the wrong topic. Sorry, won't happen again
This would depend on the ircd that you are running, I *think*. Its only 6am here, so all of this could be completely wrong. Each "raw" message from the server should start with a number, telling clients what that string of text is (whois data, etc), per RFC. To make it oper up is very simple; There are many scripts on egghelp.org that you should take a look at for example code. Then set your console (and config if its not enabled) to echo all raw data from the server to the partyline and see what comes in. Now setup a "raw" bind to catch all the messages that you would be interested in (maybe, can filter things in the loop before spitting it out to the channel). Hope this helps ya some.
Unrelated note - When will we get a decent professional sports team again!? shesh! The Bears playing is painfull to watch this season..
Thx for the feedback. I've gotten the oper part done. That was pretty simple. I'll attempt a raw numeric catching script thingy. Thx again
On another note. I've managed to create an mIRC bot that connects as a services ulined connection to Unreal3.1.4-Meadows via sockets. Is this same thing possible with and eggdrop or would that required changing the core scripting to also send server protoccols to the hub? Thx again.
I fauil to understand what you are tryign to achieve from this.
Are you saying,t hat in mIRC, you make a socket connection to the server, as if the socket itself was a server?
Yes, this is possible, again, using sockets. This can be done usign eggdrop based sockets (see connect and control functions in tcl-commands.doc), or in Tcl (the socket command).
Yeah, sorry, didn't specify. Using mIRC sockets to create a services connection to an IRCD. I'll read up on that section in the doc you mentioned. Now if I can figure out what/where to find a definintion for idx