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 

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

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Deen
Voice


Joined: 27 Aug 2005
Posts: 11

PostPosted: Sun Aug 28, 2005 2:21 am    Post subject: Need Fix for Netbots.tcl for invite on chan +r on undernet Reply with quote

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


Joined: 27 Aug 2005
Posts: 11

PostPosted: Sun Aug 28, 2005 6:43 pm    Post subject: Reply with quote

nobody have same probleme on Undernet ??
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Aug 28, 2005 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Deen
Voice


Joined: 27 Aug 2005
Posts: 11

PostPosted: Sun Aug 28, 2005 7:48 pm    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Aug 28, 2005 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Deen
Voice


Joined: 27 Aug 2005
Posts: 11

PostPosted: Sun Aug 28, 2005 11:27 pm    Post subject: Reply with quote

i knew this function is not create Razz

but if possible to slennox the make this fix for Undernet chan +R ?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 29, 2005 12:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Mon Aug 29, 2005 10:02 am    Post subject: Reply with quote

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


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

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

dude, did you bother to read the thread before posting?
Back to top
View user's profile Send private message Visit poster's website
CrazyEgg
Halfop


Joined: 28 Jul 2005
Posts: 47

PostPosted: Mon Aug 29, 2005 12:52 pm    Post subject: Reply with quote

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


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Aug 29, 2005 5:00 pm    Post subject: Reply with quote

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'. Wink
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 29, 2005 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Deen
Voice


Joined: 27 Aug 2005
Posts: 11

PostPosted: Mon Aug 29, 2005 6:44 pm    Post subject: Reply with quote

hmmm

this chan not have X Razz

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

Sad
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Aug 29, 2005 7:03 pm    Post subject: Reply with quote

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. Smile

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
View user's profile Send private message Visit poster's website
Deen
Voice


Joined: 27 Aug 2005
Posts: 11

PostPosted: Mon Aug 29, 2005 7:14 pm    Post subject: Reply with quote

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

its not possible to detect mode +r ???
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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