| View previous topic :: View next topic |
| Author |
Message |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Sun Aug 28, 2005 2:21 am Post subject: Need Fix for Netbots.tcl for invite on chan +r on undernet |
|
|
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 |
|
| Back to top |
|
 |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Sun Aug 28, 2005 6:43 pm Post subject: |
|
|
| nobody have same probleme on Undernet ?? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Aug 28, 2005 7:11 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Sun Aug 28, 2005 7:48 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Aug 28, 2005 10:02 pm Post subject: |
|
|
You are making a feature request that will probably never be included.
In your bots' conf you could put:
| Code: | | 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 |
|
| Back to top |
|
 |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Sun Aug 28, 2005 11:27 pm Post subject: |
|
|
i knew this function is not create
but if possible to slennox the make this fix for Undernet chan +R ? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 29, 2005 12:45 am Post subject: |
|
|
| Alchera wrote: | You are making a feature request that will probably never be included.
In your bots' conf you could put:
| Code: | | 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 |
|
| Back to top |
|
 |
CrazyEgg Halfop
Joined: 28 Jul 2005 Posts: 47
|
Posted: Mon Aug 29, 2005 10:02 am Post subject: |
|
|
on undernet you can add via dcc to each bot:
| Code: |
.chanset #channel need-invite {putserv "PRIVMSG X :INVITE #channel"} |
if the IP is ban and not the user account then:
| Code: |
.chanset #channel need-unban {putserv "PRIVMSG X :INVITE #channel"}
|
else if the ban is on user account:
| Code: |
.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: |
.chanset #channel need-limit {putserv "PRIVMSG X :INVITE #channel"}
|
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 29, 2005 11:02 am Post subject: |
|
|
| dude, did you bother to read the thread before posting? |
|
| Back to top |
|
 |
CrazyEgg Halfop
Joined: 28 Jul 2005 Posts: 47
|
Posted: Mon Aug 29, 2005 12:52 pm Post subject: |
|
|
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: |
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:) |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Aug 29, 2005 5:00 pm Post subject: |
|
|
| demond wrote: | | Alchera wrote: | You are making a feature request that will probably never be included.
In your bots' conf you could put:
| Code: | | 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'.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 29, 2005 5:50 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Mon Aug 29, 2005 6:44 pm Post subject: |
|
|
hmmm
this chan not have X
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
 |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Aug 29, 2005 7:03 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Deen Voice
Joined: 27 Aug 2005 Posts: 11
|
Posted: Mon Aug 29, 2005 7:14 pm Post subject: |
|
|
if the eggdrop can detect mode +L(limit) +i(invite) +k(key) ....
its not possible to detect mode +r ??? |
|
| Back to top |
|
 |
|