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.

Use Undernet's X when possible

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
T
Tachdelan
Voice
Posts: 3
Joined: Tue Nov 28, 2006 12:55 am

Use Undernet's X when possible

Post by Tachdelan »

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?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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"
T
Tachdelan
Voice
Posts: 3
Joined: Tue Nov 28, 2006 12:55 am

Post by Tachdelan »

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?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

It's possible through a script, all you'd be doing is 'puthelp "PRIVMSG X :command"' stuff, and making binds for the command triggers.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
T
Tachdelan
Voice
Posts: 3
Joined: Tue Nov 28, 2006 12:55 am

Post by Tachdelan »

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?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
Post Reply