<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20301" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2017-05-02T11:46:24-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20301</id>

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-05-02T11:46:24-04:00</updated>

		<published>2017-05-02T11:46:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106235#p106235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106235#p106235"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106235#p106235"><![CDATA[
ok thnx caesar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue May 02, 2017 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-05-02T10:23:37-04:00</updated>

		<published>2017-05-02T10:23:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106233#p106233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106233#p106233"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106233#p106233"><![CDATA[
<em class="text-italics">Pushmode</em> uses a slower queuing system and thus the bot will have time to stack multiple mode changes into a single line, meaning you should see less lines with mode changes if a invite flood would actually occur.<br><br>Same goes with <em class="text-italics">putkick</em> that will combine multiple kicks into a single line with the same reason, but while it sends a single line the server still shows you multiple kicks lines in the chat. Nothing we can do about it I'm afraid.<br><br>In order to actually have something stacked you would have to <em class="text-italics">delay</em> the punishment in the hopes there's a invite flood before triggering the actual punishment, just like it happens in the script you linked.<br><br>Since you have the linked script already loaded, reusing the <em class="text-italics">stack_bans</em> function is the last of my concerns. In my honest opinion you would just complicate things because then you would also have to keep track of name changes inside the array with names to be kicked off any channels that the bot and the victim have in common thus need to add nick, kick, part and quit functions.<br><br>Honestly I would rather wait for an actual invite flood and see how this behaves and take it from there.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue May 02, 2017 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-05-02T08:53:10-04:00</updated>

		<published>2017-05-02T08:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106232#p106232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106232#p106232"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106232#p106232"><![CDATA[
On some networks like Dalnet it is possible to mass invite so it might be a good option to have.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue May 02, 2017 8:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-05-01T18:24:05-04:00</updated>

		<published>2017-05-01T18:24:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106230#p106230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106230#p106230"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106230#p106230"><![CDATA[
works well thx caesar nicely done<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon May 01, 2017 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-05-01T11:46:59-04:00</updated>

		<published>2017-05-01T11:46:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106229#p106229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106229#p106229"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106229#p106229"><![CDATA[
See how works as is right now and if needed I guess we can add that, but doubt will get so many invites at the same time to make this worth adding.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 01, 2017 11:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-05-01T08:28:56-04:00</updated>

		<published>2017-05-01T08:28:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106228#p106228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106228#p106228"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106228#p106228"><![CDATA[
that seems to work <br><br>is it possible to have the same method of banmask like spike used in <br><br><a href="http://forum.egghelp.org/viewtopic.php?t=19955" class="postlink">http://forum.egghelp.org/viewtopic.php?t=19955</a><br><br>the stacked bans and kicks seem a good method incase a mass invite accures<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon May 01, 2017 8:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-05-01T06:30:53-04:00</updated>

		<published>2017-05-01T06:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106227#p106227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106227#p106227"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106227#p106227"><![CDATA[
Won't something simple as:<div class="codebox"><p>Code: </p><pre><code>bind raw - INVITE show:inviteproc show:invite {from key txt} {# get the nick, user and hostscan $from {%[^!]!%[^@]@%s} nick user host# loop all channelsforeach chan [channels] {# if the bot is not channel operator no point into continuingif {![botisop $chan]} continue# if the inviter isn't on the channel continueif {![onchan $nick $chan]} continue# do the +b and kick?pushmode $chan +b "*!*@$host"putkick $chan $nick "Invite spam"}}</code></pre></div>do what you wanted?<br><br>I see previous comments but I don't understand where's the problem with the <em class="text-italics">invite</em> command. mind giving an example?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 01, 2017 6:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-04-30T09:30:45-04:00</updated>

		<published>2017-04-30T09:30:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106226#p106226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106226#p106226"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106226#p106226"><![CDATA[
ill be using this for the moment i guess<br><br>i couldnt think of a way to make use of the foreach <div class="codebox"><p>Code: </p><pre><code>bind raw - INVITE show:invite proc show:invite { nick host key } { global botnick si  set nik [lindex [split $nick !] 0]  set host [lindex [split $nick !] 1]  set text [lindex [split $key] 1 end]  putquick "MODE #channel1 +b *!*@[lindex [split $host @] 1]" -next  putquick "MODE #channel2 +b *!*@[lindex [split $host @] 1]" -next  putquick "MODE #channel3 +b *!*@[lindex [split $host @] 1]" -next  putquick "MODE #channel4 +b *!*@[lindex [split $host @] 1]" -next  putquick "MODE #channel5 +b *!*@[lindex [split $host @] 1]" -next  putquick "MODE #channel6 +b *!*@[lindex [split $host @] 1]" -next}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun Apr 30, 2017 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-04-29T10:34:13-04:00</updated>

		<published>2017-04-29T10:34:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106222#p106222</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106222#p106222"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106222#p106222"><![CDATA[
does anyone know how to modify this to get this it to set ban ( for inviter ) on all channels the bot is opped ( and possibly kick inviter if in channel ) and i would prefer a channel ban to allow more freedom for channel ops to remove bans at any time<br><br>tnx in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Apr 29, 2017 10:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-04-28T23:59:12-04:00</updated>

		<published>2017-04-28T23:59:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106218#p106218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106218#p106218"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106218#p106218"><![CDATA[
try with<div class="codebox"><p>Code: </p><pre><code>set mychansk "#cappuccino"bind raw - INVITE show:invite proc show:invite { nick key txt} { global mychansk foreach channel [split $mychansk] {  set nik [lindex [split $nick !] 0]   set xhost [lindex [split $nick !] 1]  set xtext [lindex $txt 1]    putserv "PRIVMSG $channel :INVITE SPAM by \2$nik\2  (\2$xhost\2): invited to \2$xtext\2"} }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Apr 28, 2017 11:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-04-28T07:43:49-04:00</updated>

		<published>2017-04-28T07:43:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106216#p106216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106216#p106216"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106216#p106216"><![CDATA[
ok did that tested on dalnet and on my own network got this response:<blockquote class="uncited"><div>:nick!user@host INVITE nick :#channel</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri Apr 28, 2017 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-04-28T00:41:50-04:00</updated>

		<published>2017-04-28T00:41:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106213#p106213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106213#p106213"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106213#p106213"><![CDATA[
On Undernet network where i tested an invite the RAW i seen was: INVITE my_name #channel.<br><br>If you have mIRC type in status window <em class="text-italics">/debug @raw</em> and a window called @raw should appear. Now ask a friend to invite you to a channel and copy/paste what you get there, maybe on your network you get something different.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Apr 28, 2017 12:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-04-27T17:39:11-04:00</updated>

		<published>2017-04-27T17:39:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106210#p106210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106210#p106210"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106210#p106210"><![CDATA[
came up with this:<div class="codebox"><p>Code: </p><pre><code>bind raw - INVITE show:invite proc show:invite { nick host key} { global botnick si  set nik [lindex [split $nick !] 0]  set host [lindex [split $nick !] 1]  set text [lindex [split $key] 1 end]     putserv "PRIVMSG #channel :INVITE SPAM by\0032 $nik \003\[$host\]: invited to $text"}</code></pre></div>what kind of an output did you  mean ?<br><br>the message in channel seems to get hostmask everytime as well as the channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Apr 27, 2017 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2017-04-27T11:39:20-04:00</updated>

		<published>2017-04-27T11:39:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106207#p106207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106207#p106207"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106207#p106207"><![CDATA[
Two problems:<br>- the bind raw accepts 3 arguments and you given it 4.<br>- stop using <em class="text-italics">arg</em> or <em class="text-italics">args</em> as they have a special meaning in TCL, and instead use <em class="text-italics">text</em>, <em class="text-italics">txt</em> or something else to better represent the argument the proc is awaiting.<br><br>Give me an example of a raw INVITE output and will help you out with a proper code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 27, 2017 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2017-04-27T09:11:59-04:00</updated>

		<published>2017-04-27T09:11:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106206#p106206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106206#p106206"/>
		<title type="html"><![CDATA[kick/ban on invite]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106206#p106206"><![CDATA[
i came up with this: <br><br><div class="codebox"><p>Code: </p><pre><code>bind raw - INVITE show:invite proc show:invite { nick host key args } { global botnick si  set nik [lindex [split $nick !] 0]  set host [lindex [split $nick !] 1]  set ban [lindex [split $nick @] 1]  set text [lindex [split $key] 1 end]      putserv "PRIVMSG #cappuccino :INVITE SPAM by\0032 $nik \003\[$host\]: invited to $text"}</code></pre></div><br><br>is there a way we can make sure bot bans the inviter on all channels bot has halfOP access or above without the use of internal ban ( i like the channel ops to have the freedom to remove bans at any time ) ( and possibly kick as well if inviter is actually is in channel the eggbot has halfOP and up acces as well )<br><br><br>would it also be possibe to use Spikes way of setting banmasks and stacking bans and ( and kicks if inviter is in common chan ) <br><br><br><br>thanx in advance<br><br><br><a href="http://forum.egghelp.org/viewtopic.php?t=19955" class="postlink">http://forum.egghelp.org/viewtopic.php?t=19955</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Apr 27, 2017 9:11 am</p><hr />
]]></content>
	</entry>
	</feed>
