This is what I used to use:
Code: Select all
bind dcc o xlogin dcc_xlogin
proc dcc_xlogin {handle idx arg} {
putquick "MODE $::botnick +x"
putquick "MODE $::botnick +i"
putquick "PRIVMSG x@channels.undernet.org :login myname passwd"
}
bind need - "% op" needxlogin
proc needxlogin {chan type} {
putquick "MODE $::botnick +x"
putquick "MODE $::botnick +i"
putquick "PRIVMSG x@channels.undernet.org :login myname passwd"
}
The dcc bind is for running the command manually, the need bind does it automatically. You can also put this into your eggdrop.conf:
Code: Select all
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +ix-ws"
putquick "PRIVMSG X@channels.undernet.org :login myname passwd"
}
Edit:
Oops i misread your letter, and thought it was just requesting login/op.
There is a script in the archive called OpTools that should do the other functions you're looking for (use babel-fish to translate the romanian to english or whatever language you want.)
Edit 2:
This script also looks like it'd do what you're looking for:
IRCguard Xcommmands
or:
Undernet Channel Service Management script
Search the archive for "undernet"