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.

Need Fix for Netbots.tcl for invite on chan +r on undernet

Old posts that have not been replied to for several years.
Locked
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Need Fix for Netbots.tcl for invite on chan +r on undernet

Post by Deen »

HI

I have 13 eggdrop on UNDERNET with netbots.tcl 4.10
All work great

BUT

i have one chan mode +R (registed only for undernet users)
When i kick eggdrop with vhost, he dont request invite .... its a bug ??

In Resume:
How set netbots.tcl for have automaticly a request invite when the bot are kick out on the chan +R, on undernet ???

Its possible to fix it in the code netbots scripts (egg request invite on chan mode +r) ??

thx all
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Post by Deen »

nobody have same probleme on Undernet ??
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

This is nothing to do with netbots. Have your bot identify to services correctly!
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Post by Deen »

when i invite eggdrop he join the chan

if the netbots make a invite request ... solve the problem

I have 12 egg with Vhost i cant registed 12 egg on undernet service :(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You are making a feature request that will probably never be included.

In your bots' conf you could put:

Code: Select all

need-invite {putserv "PRIVMSG ChanServ :INVITE #channel"}
In the 'channel add #channel' section.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Post by Deen »

i knew this function is not create :P

but if possible to slennox the make this fix for Undernet chan +R ?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera wrote:You are making a feature request that will probably never be included.

In your bots' conf you could put:

Code: Select all

need-invite {putserv "PRIVMSG ChanServ :INVITE #channel"}
In the 'channel add #channel' section.
that won't work, see this guy's thread in the Eggdrop Help forum
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

on undernet you can add via dcc to each bot:

Code: Select all

.chanset #channel need-invite {putserv "PRIVMSG X :INVITE #channel"}
if the IP is ban and not the user account then:

Code: Select all

.chanset #channel need-unban {putserv "PRIVMSG X :INVITE #channel"}
else if the ban is on user account:

Code: Select all

.chanset #channel need-unban {putserv "PRIVMSG X :unban #channel $botnick"}
other commands available is need-op need-limit

on undernet when the bot need limit is resolved with invite command so:

Code: Select all

.chanset #channel need-limit {putserv "PRIVMSG X :INVITE #channel"}
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

dude, did you bother to read the thread before posting?
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

soory for that.

I dont know if is accepted this coomand on conf file:

putbot 2ndbot "ndi invite $botnick #channel"

if yes then needed another one script to the other bot to execute it.
someting like that i think:

Code: Select all

bind bot - ndi nbinvite

proc ndinvite {bot com args} {
 global botnick
set args [lindex $args 0]
set subcom [lindex $args 0]
set nick [lindex $args 1]
set channel [lindex $args 2]
putserv "privmsg $channel :$subcom $nick $channel"
}
code is no verified and i dont know if is correct.Its just an idea.
as you know im not expert.Just try to learn:)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:
Alchera wrote:You are making a feature request that will probably never be included.

In your bots' conf you could put:

Code: Select all

need-invite {putserv "PRIVMSG ChanServ :INVITE #channel"}
In the 'channel add #channel' section.
that won't work, see this guy's thread in the Eggdrop Help forum
Oh well! One would hope he'd know to replace 'ChanServ' with 'X'. :wink:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera, that guy won't understand the problem, maybe you will (actually I'm pretty sure you will):

the real issue here is that eggdrop doesn't know it needs to be invited, so whatever code you put in need-invite won't work - simply because need-invite handler doesn't get activated; to activate it, eggdrop has to intercept server's raw reply for "Cannot join channel (+R)" and know that it needs to request an invite in order to circumvent that
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Post by Deen »

hmmm

this chan not have X :P

We dont need to have X for have mode chan +R

I need that egg send a invite request when they are : join chan and kick out of chan

:(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:Alchera, that guy won't understand the problem, maybe you will (actually I'm pretty sure you will):

the real issue here is that eggdrop doesn't know it needs to be invited, so whatever code you put in need-invite won't work - simply because need-invite handler doesn't get activated; to activate it, eggdrop has to intercept server's raw reply for "Cannot join channel (+R)" and know that it needs to request an invite in order to circumvent that
Yup! I definitely missed that bit. LOL

I need to sleep better. :)

Deen: As demond has pointed out, "eggdrop doesn't know it needs to be invited"!
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
D
Deen
Voice
Posts: 11
Joined: Sat Aug 27, 2005 2:01 am

Post by Deen »

if the eggdrop can detect mode +L(limit) +i(invite) +k(key) ....

its not possible to detect mode +r ???
Locked