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 

chaninvites/isinvite

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Sun Jan 04, 2015 12:38 pm    Post subject: chaninvites/isinvite Reply with quote

I cant get those commands to work. I want to limit the invite commands when they are "abusing" it. I mean if they are invited but they don't join the eggdrop should not invite him again. I know there is some setting for invite-time so until that time expires or if the user joins the channel the eggdrop will not invite the user.

The thing is that
.tcl [isinvite nick chan] is always 0 and i changed nick to uhost/host etc but its the same thing... and for [chaninvites chan] is empty list again. I invited myself and didnt joined the channel so it should be in the list... and i have set invite-time to 60 in the config file. Is there other setting i should have there for this commands to work? (loadmodule irc) is loaded
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Jan 05, 2015 5:41 pm    Post subject: Reply with quote

Hello,
The invite-list (chaninvites and isinvite) refers to the list of invite-lines (similar to ban-lines), which are set using the mode-command (/mode #channel +I Nick!User@Host). It has nothing to do with whether any user (or bot, for that matter) has issued a specific /invite command for a certain user.

Eggdrop can be told to enforce a set of invite-lines, in a similar fashion to ban-lines. For that, you'd have to use the .+invite dcc-command to add the specific invite-line to eggdrop's internal list.

What you are asking for, would require a little bit of scripting, including replacing the .invite command, as there is no means of seeing who has been invited to a channel or not (you'd have to catch all invite-requests, and check if any of these join the channel - or consider them timed out after some time?)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Fri Jan 16, 2015 7:05 pm    Post subject: Reply with quote

I see.. well then ill start scripting thanks
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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