| View previous topic :: View next topic |
| Author |
Message |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Sun Jan 04, 2015 12:38 pm Post subject: chaninvites/isinvite |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jan 05, 2015 5:41 pm Post subject: |
|
|
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 |
|
 |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Fri Jan 16, 2015 7:05 pm Post subject: |
|
|
I see.. well then ill start scripting thanks _________________ https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL |
|
| Back to top |
|
 |
|