egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use Undernet's X when possible

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Tachdelan
Voice


Joined: 28 Nov 2006
Posts: 3

PostPosted: Tue Nov 28, 2006 1:04 am    Post subject: Use Undernet's X when possible Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Nov 28, 2006 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Tachdelan
Voice


Joined: 28 Nov 2006
Posts: 3

PostPosted: Tue Nov 28, 2006 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Nov 28, 2006 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Tue Nov 28, 2006 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tachdelan
Voice


Joined: 28 Nov 2006
Posts: 3

PostPosted: Tue Nov 28, 2006 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Fri Dec 01, 2006 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber