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.

Script for recover?

Old posts that have not been replied to for several years.
Locked
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Script for recover?

Post by MINImi »

hi,

does anyone knows a script that when the bot cant come back to the channel because of +i and +b he can recover the channel with n or m

plz help me :(
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

what do you mean ? n is that bot can't send a msg to channel, m means no talking in channel without +v or +h or +o , meaning if its +m no mather if there inside or outside they can't talk if the bot is out like you sad it won't be able to talk no mather what if its on invite you beter hope you got a bot in there else your locked out either restart the bots that are currently on that chan or make em invite you or your bot +b well .. do you need to ask ? bot won't be able to join nor will it be able to reset the ban

unless u got ircops or bot/user that invites you or your bot you won't be able to recover your channel on the other hand why is it you ask this question ? is it that you wana take over or wana prevent take over if prevent i gues you don't need to worry if your talking about take overs wrong forum :p
XplaiN but think of me as stupid
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I guess what he means is that N and M are the name of the services bots.
what you need is to set the needs.
there are 5 : need-op need-unban need-limit need-invite and need-key

for example. if you want the bot to unban itself when its banned then:
.chanset #channel need-unban putserv "PRIVMSG N :unban #channel $botnick" (this is an example, you can manage it to suite you.)

same thing on the other needs.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

ah ic .. ic sorry hehe verry ima get some sleep hehe
XplaiN but think of me as stupid
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Post by MINImi »

sorry you misunderstand :) my english is not so good

a new try:

e.g. my bot has been banned from my channel and the channel is set to +i (invite only) then the bot when he has m (master) or n (owner) can recover (msg l recover #channel 4 quakenet) this channel, comes back into the channel and bans the user :)x

is this better?
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

better, but you have your answer:
need-unban, need-invite, need-key are your friends.
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Post by MINImi »

hmm

.chanset * need-unban putserv "PRIVMSG L :unban $channel $botnick"

is this correct when i want to set it to all channels @ quakenet for the L Bot?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

no, you have to set it for each channel individualy:

example: .chanset #channel1 need-unban putserv "PRIVMSG L :recover #channel1" (you said its msg l recover #channel on quakenet)
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Post by MINImi »

example: .chanset #channel1 need-unban putserv "PRIVMSG L :recover #channel1" (you said its msg l recover #channel on quakenet)
.chanset #channel1 need-unban putserv "MSG L :recover #channel1 $botnick"

did you forget the $botnick? i hope so :)

i think so it is correct
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

why do you like to mess with the code ?

its PRIVMSG in tcl not MSG

and about the recover command, I dont know, you should know since you use quakenet.
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Post by MINImi »

in quakenet it is just MSG, ok i take PRIVMSG :)
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

MINImi wrote:in quakenet it is just MSG [snip]
No, it is not.
:barrysworld1.uk.quakenet.org 001 egghead :Welcome to the Internet Relay Network, egghead
[snip]
:barrysworld1.uk.quakenet.org NOTICE egghead :on 1 ca 1(4) ft 20(20)
MSG egghead hello
:barrysworld1.uk.quakenet.org 421 egghead MSG :Unknown command
M
MINImi
Voice
Posts: 30
Joined: Sat Oct 11, 2003 6:52 am

Post by MINImi »

.chanset #channel1 need-key putserv "PRIVMSG L :XXX #channel $botnick"


does anyone knows it for need key?

for invite its invite
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

MINImi wrote:in quakenet it is just MSG, ok i take PRIVMSG :)
Please, try to remember that in TCL, you use the eggdrop' tcl commands, network independant.
have a look to the tcl-command.doc and you'll won't make these poisonning errors
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

use invite for need-key aswell, the bot can join a channel with a key if it invited without entering the key.
Locked