I am using undernet and I set +r on my channel (only registered users are allowed). Anyway, to allow also unregistered users I set and eggdrop to invite those users who ask for an invitation on channel.
This kind of solution was necessary because of the huge number of flooding bots and infected IRC clients who join my channel.
But then the problem arised with those who get banned on channel and are asking for invitation, abbusing the system. Lines like nexts are filling the whole screen:
[16:38] * X sets mode: +b *!*Luci@*.*
[16:39] * Joins: Luci1 (~Luci@210.255.109.204)
[16:39] * Luci1 was kicked by X ((stars2003) Bye !!!)
[16:39] * Joins: Luci1 (~Luci@210.255.109.204)
[16:39] * Luci1 was kicked by X ((stars2003) Bye !!!)
What I need is a solution to this problem. The eggdrop should accept invitations only from those who are not in the channel's ban list.
I tried also to put on ignore the masks of those banned (.+ignore *!*Luci@*), but because of some weird reason the ignore system is not functioning. (aiud is the egg)
[16:35] <aiud> [ 1] *!*luci@* (perm)
[16:35] <aiud> c0ditza: requested
And the invitation script is next (a very basic one, as I don't have scripting knowledge) - invite.tcl:
I hope you'll find an answer to my problem.bind msgm - *invit* inviteme
proc inviteme {nick uhost hand chan } {
putserv "invite $nick #aiud"
}
putlog "Loaded invite.tcl successfully."
Best regards!