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 

Request OP
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Arkadietz
Halfop


Joined: 14 Jul 2006
Posts: 67
Location: cat /dev/zero > /dev/null;

PostPosted: Fri Aug 26, 2011 9:03 am    Post subject: Request OP Reply with quote

When eggdrop join in chanel immediately require OP ( via command /msg cs chanserv op #channel ) from services for example host ChanServ!ChanServ@services.bg
_________________
On a unix system everything is a file ; if something is not a file , it is a proccess.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Aug 26, 2011 11:37 am    Post subject: Re: Request OP Reply with quote

Arkadietz wrote:
When eggdrop join in chanel immediately require OP ( via command /msg cs chanserv op #channel ) from services for example host ChanServ!ChanServ@services.bg



http://www.egghelp.org/commands/channels.htm#chaninfo
and see: need-op

Will that do what you need?


Or:
Can you register the bot's nick with Nickserv?
Then have the bot identify with Nickserv upon logging in to irc server.
Next, add bot's nick to Chanserv's auto-op list for your channel.
Back to top
View user's profile Send private message
Arkadietz
Halfop


Joined: 14 Jul 2006
Posts: 67
Location: cat /dev/zero > /dev/null;

PostPosted: Fri Aug 26, 2011 4:46 pm    Post subject: Reply with quote

this not work for me.. cuz now have a little lag from 10sec to 1 min before getting a op. So have to do it immediately.

Show example aftrer .restart

[16:20:29] * Elionor (~kiril@217.75.136.110) has left #Copacabana
[16:20:33] * Elionor (~kiril@217.75.136.110) has joined #Copacabana
[16:20:49] * ChanServ sets mode: +o Elionor

This is a lot of time before getting an op.
_________________
On a unix system everything is a file ; if something is not a file , it is a proccess.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Aug 26, 2011 7:23 pm    Post subject: Re: Request OP Reply with quote

willyw wrote:

Or:
Can you register the bot's nick with Nickserv?
Then have the bot identify with Nickserv upon logging in to irc server.
Next, add bot's nick to Chanserv's auto-op list for your channel.
Back to top
View user's profile Send private message
Arkadietz
Halfop


Joined: 14 Jul 2006
Posts: 67
Location: cat /dev/zero > /dev/null;

PostPosted: Sat Aug 27, 2011 4:03 am    Post subject: Re: Request OP Reply with quote

willyw wrote:
willyw wrote:

Or:
Can you register the bot's nick with Nickserv?
Then have the bot identify with Nickserv upon logging in to irc server.
Next, add bot's nick to Chanserv's auto-op list for your channel.


The nick is registred with nickserv of course. And bot identify automaticly. Bot is added for level to use only cmdop not autoop ( here is the that, i'm asking )

[11:02:21] -ChanServ- -- Access Levels for [#Copacabana] --
[11:02:22] -ChanServ- Index Level Type Description
[11:02:22] -ChanServ- ----- ----- ---- -----------
[11:02:22] -ChanServ- 1 -1 AUTODEOP Automatic deop/devoice
[11:02:22] -ChanServ- 2 10 AUTOVOICE Automatic voice
[11:02:22] -ChanServ- 3 1 CMDVOICE Use of command VOICE
[11:02:22] -ChanServ- 4 8 ACCESS Allow ACCESS modification
[11:02:22] -ChanServ- 5 2 CMDINVITE Use of command INVITE
[11:02:22] -ChanServ- 6 10 AUTOHALFOP Automatic halfop
[11:02:22] -ChanServ- 7 3 CMDHALFOP Use of command HALFOP
[11:02:22] -ChanServ- 8 6 AUTOOP Automatic op
[11:02:22] -ChanServ- 9 5 CMDOP Use of command OP
[11:02:22] -ChanServ- 10 7 CMDUNBAN Use of command UNBAN
[11:02:22] -ChanServ- 11 6 AUTOKICK Allow AKICK modification
[11:02:22] -ChanServ- 12 8 CMDCLEAR Use of command CLEAR
[11:02:22] -ChanServ- 13 9 SET Modify channel SETs
[11:02:22] -ChanServ- 14 9 SUPEROP All of the above
[11:02:22] -ChanServ- -- End of list --

[11:02:37] -ChanServ- -- Access List for [#Copacabana] --
[11:02:37] -ChanServ- Num Level Hostmask Since last use Added by
[11:02:37] -ChanServ- --- ----- -------- -------------- --------
[11:02:37] -ChanServ- 1 5 Elionor 2m 49s Kiril

The bot have to use cmdop correctly, not autoop!
_________________
On a unix system everything is a file ; if something is not a file , it is a proccess.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat Aug 27, 2011 11:09 pm    Post subject: Reply with quote

In eggdrop.conf find this part, and make it look like below:
Code:
proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  # this line below may need changing, depending on syntax of services.
  putquick "privmsg nickserv :identify <replace this with password bot uses on that network>"
}


Then get on your bot's partyline, via dcc-chat and do this:
Code:
.chanset #thatchan need-op putquick "privmsg cs :chanserv op #channel" -next


Wallah...
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Arkadietz
Halfop


Joined: 14 Jul 2006
Posts: 67
Location: cat /dev/zero > /dev/null;

PostPosted: Sun Aug 28, 2011 4:50 am    Post subject: Reply with quote

this doesn't work
_________________
On a unix system everything is a file ; if something is not a file , it is a proccess.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Aug 28, 2011 8:55 am    Post subject: Reply with quote

Check out:

http://forum.egghelp.org/viewtopic.php?p=95379&highlight=nickserv+identify#95379

http://forum.egghelp.org/viewtopic.php?p=95379&highlight=nickserv+identify#95379

Those say essentially the same thing that speechles said. Perhaps another example will be beneficial though.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Aug 28, 2011 8:57 am    Post subject: Reply with quote

Also, check the ChanServ list of nicks on Auto Op list for the channel in question.

Is bot's nick on that list?
Back to top
View user's profile Send private message
SmasHinG
Voice


Joined: 29 Aug 2011
Posts: 29

PostPosted: Mon Aug 29, 2011 3:00 am    Post subject: Reply with quote

willyw wrote:
Also, check the ChanServ list of nicks on Auto Op list for the channel in question.

Is bot's nick on that list?

Bot is not on Auto OP list because he don`t want to use auto op. He want just when join bot to channel now ask op from ChanServ.
_________________
SmasHinG®
Back to top
View user's profile Send private message
Arkadietz
Halfop


Joined: 14 Jul 2006
Posts: 67
Location: cat /dev/zero > /dev/null;

PostPosted: Mon Aug 29, 2011 4:11 am    Post subject: Reply with quote

Stop give to me these threads, they're a neccessary. i say it to you again the problem is not in .conf and with settings. egg is added a level only to use cmdop not AUTO OP here is the difference. The main idea is when bot join on #channel to get op via command how i said before. I want a tcl for this and not one of these they're already have here. I want a custom and simple.

Because now, when egg join to the channel after .restart

Show:

[11:06:43] <Kiril> .restart
[11:06:43] <Elionor> [11:06:58] #Kiril# restart
[11:06:43] <Elionor> Restarting.
[11:06:43] <Elionor> [11:06:58] Restarting ...
[11:06:43] <Elionor> [11:06:58] Module unloaded: assoc
[11:06:43] <Elionor> [11:06:58] Module unloaded: console
[11:06:43] <Elionor> [11:06:58] Module unloaded: notes
[11:06:43] <Elionor> [11:06:58] Module unloaded: compress
[11:06:43] <Elionor> [11:06:58] Sending 'share end' to all sharebots...
[11:06:43] <Elionor> [11:06:58] Unloaded sharing module, flushing tbuf's...
[11:06:43] <Elionor> [11:06:58] Module unloaded: share
[11:06:43] <Elionor> [11:06:58] Unloading transfer module, killing all transfer connections...
[11:06:43] <Elionor> [11:06:58] Module unloaded: transfer
[11:06:43] <Elionor> [11:06:58] Module unloaded: irc
[11:06:43] <Elionor> [11:06:58] Module unloaded: ctcp
[11:06:43] <Elionor> [11:06:58] Module unloaded: server
[11:06:43] <Elionor> [11:06:58] Module unloaded: channels
[11:06:43] <Elionor> [11:06:58] Listening at telnet port 6996 (users).
[11:06:43] <Elionor> [11:06:58] Listening at telnet port 9669 (bots).
[11:06:43] <Elionor> [11:06:58] No longer supporting channel #Copacabana
[11:06:43] <Elionor> [11:06:58] Module loaded: channels
[11:06:43] <Elionor> [11:06:58] Module loaded: server
[11:06:43] <Elionor> [11:06:58] Module loaded: ctcp
[11:06:43] <Elionor> [11:06:58] Module loaded: irc
[11:06:43] <Elionor> [11:06:58] Module loaded: transfer (with lang support)
[11:06:43] <Elionor> [11:06:58] Module loaded: share
[11:06:43] <Elionor> [11:06:58] Module loaded: compress
[11:06:43] <Elionor> [11:06:58] Module loaded: notes (with lang support)
[11:06:43] <Elionor> [11:06:58] Module loaded: console (with lang support)
[11:06:43] <Elionor> [11:06:58] Module loaded: assoc (with lang support)
[11:06:43] <Elionor> [11:06:58] TCL | Added
[11:06:43] <Elionor> [11:06:58] TCL | Anti Spam
[11:06:43] <Elionor> [11:06:58] TCL | Anti Flood
[11:06:43] <Elionor> [11:06:58] TCL | Ban Tools
[11:06:43] <Elionor> [11:06:58] TCL | Bind
[11:06:43] <Elionor> [11:06:58] TCL | DiePass
[11:06:43] <Elionor> [11:06:58] TCL | Last Connection
[11:06:43] <Elionor> [11:06:58] TCL | List
[11:06:43] <Elionor> [11:06:58] TCL | Modes
[11:06:43] <Elionor> [11:06:58] TCL | Notice
[11:06:43] <Elionor> [11:06:58] TCL | PartyLine AutoAway
[11:06:43] <Elionor> [11:06:58] TCL | ShakeIT Services
[11:06:43] <Elionor> [11:06:58] TCL | Userinfo
[11:06:43] <Elionor> [11:06:58] All is Ok let's Go..
[11:06:43] <Elionor> [11:06:58] Userfile loaded, unpacking...
[11:06:43] <Elionor> *** [Kiril] Write your future cuz it's your past
[11:06:43] <Elionor> You have no messages.
[11:06:44] <Elionor> [11:06:59] Trying server [irc.archimed.bg]:6667
[11:06:44] <Elionor> [11:06:59] Connected to irc.archimed.bg
[11:06:44] <Elionor> [11:06:59] -NOTICE- *** Looking up your hostname...
[11:06:44] <Elionor> [11:06:59] -NOTICE- *** Checking Ident
[11:06:44] <Elionor> [11:06:59] -NOTICE- *** Couldn't look up your hostname
[11:06:47] <Elionor> [11:07:03] Elionor joined #Copacabana.
[11:06:48] <Elionor> [11:07:03] -ChanServ (ChanServ@services.bg)- [#Copacabana] You're need to relax? You're choose a right channel! Enjoy it here Wink

[11:07:52] * Elionor (~kiril@217.75.136.110) has joined #Copacabana
[11:08:45] * ChanServ sets mode: +o Elionor

Can you see it? It has been 1 minute before he gets it an op.
_________________
On a unix system everything is a file ; if something is not a file , it is a proccess.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Aug 29, 2011 11:16 am    Post subject: Reply with quote

Yeah, somebody needs to close and lock this thread.

The guy obviously has no clue that a restart you get this delay.
YOU CANNOT WORK AROUND THAT DELAY!

STOP RESTARTING THE BOT! ARE YOU STUPID?

Use .rehash like a normal person would...


So yeah, in short.. *the end*
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Aug 29, 2011 11:26 am    Post subject: Reply with quote

speechles wrote:

...
The guy obviously has no clue that a restart you get this delay.
YOU CANNOT WORK AROUND THAT DELAY!
...



What would happen with a script that, on joining the channel, sends something like
/msg chanserv OP [#channel [nick]]
or whatever the correct syntax is for the server?

Would it not immediately send the op command?


[I too am a bit frustrated, and have lost enthusiasm. But I want to learn about this delay you mention. Thanks ]
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Aug 29, 2011 11:29 am    Post subject: Reply with quote

Look at the guys log of what the eggdrop is doing during it's restart.

Then look at the very very last line...

[11:07:52] * Elionor (~kiril@217.75.136.110) has joined #Copacabana
[11:08:45] * ChanServ sets mode: +o Elionor

That delay is the amount of time before the tcl event engine is allowed to capture the event that the bot has joined the channel.

So working around it, is ridiculous. Stop restarting your bot so damn often is the answer. Use rehash like a normal person.

His request is hereby irrational. It can never be fufilled. So stop asking.

NOTE: Think of it like starting a car. He wants it to burn the tires off right after starting the car. But you can't do that. You will destroy the engine. It has to "warm up" before you can be that aggressive with it. Eggdrop also needs this "warm up" time when you restart. The answer is stop restarting so often.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Aug 29, 2011 11:42 am    Post subject: Reply with quote

speechles wrote:


...
That delay is the amount of time before the tcl event engine is allowed to capture the event that the bot has joined the channel.
...


Interesting.

Thanks
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
Goto page 1, 2  Next
Page 1 of 2

 
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