| View previous topic :: View next topic |
| Author |
Message |
Tachdelan Voice
Joined: 28 Nov 2006 Posts: 3
|
Posted: Tue Nov 28, 2006 1:04 am Post subject: Use Undernet's X when possible |
|
|
Hello,
I'm looking for a script or a module that makes my bot use Undernet's X when available for op, deop, kick, ban etc...
I've searched different sites without any luck.
I'm not even sure if this is possible, but since X is in some of my channels I'd like my bots to use it. Especially with my bans, so that I can have better control with banlists(perm-bans, shitlists etc.).
Can anyone help me? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Nov 28, 2006 2:37 am Post subject: |
|
|
This is what I used to use:
| Code: |
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: |
# 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" |
|
| Back to top |
|
 |
Tachdelan Voice
Joined: 28 Nov 2006 Posts: 3
|
Posted: Tue Nov 28, 2006 9:57 am Post subject: |
|
|
ty, but allthough I haven't tried OpTools (being in a foreign language), I can't get IRCguard to work at all, and UCSM seems to be auth/login only.
I'm sorry if I didn't make myself clear earlier.
I'd like my bot to ban,kick,voice,op etc through X instead of doing it directly, even when using it's own userlist.
Is this even possible with a script or is this only accomplished through a module or rewrite of the eggdrop itself? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Nov 28, 2006 3:52 pm Post subject: |
|
|
| It's possible through a script, all you'd be doing is 'puthelp "PRIVMSG X :command"' stuff, and making binds for the command triggers. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Nov 28, 2006 8:55 pm Post subject: |
|
|
Tachdelan : Get from the TCL Archive my 'Xstuff' script. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Tachdelan Voice
Joined: 28 Nov 2006 Posts: 3
|
Posted: Tue Nov 28, 2006 10:34 pm Post subject: |
|
|
Hmm... I'm not a scripter, but Xstuff doesn't seem to utilize X for kicking, banning etc.
Can I please get a second opinion? |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Fri Dec 01, 2006 5:26 am Post subject: |
|
|
Tought you want something to protect it, anyway heve you checked the TCL Archive? _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
|