<?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/20793" />

	<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>2020-06-13T13:37:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-06-13T13:37:55-04:00</updated>

		<published>2020-06-13T13:37:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108551#p108551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108551#p108551"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108551#p108551"><![CDATA[
<blockquote class="uncited"><div>...<br> let  me  try and attempt write it myselve for the join bind part<br>...</div></blockquote>Great !   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>and feel free to post it here if you wish.   For help, if need be.   Or, for other ideas on it.<br><br>Good luck with it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 13, 2020 1:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-13T11:58:58-04:00</updated>

		<published>2020-06-13T11:58:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108549#p108549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108549#p108549"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108549#p108549"><![CDATA[
ur right i wasnt more specific let  me  try and attempt write it myselve for the join bind part<br>tnx so far willyw much apreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 13, 2020 11:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-06-13T11:37:40-04:00</updated>

		<published>2020-06-13T11:37:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108548#p108548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108548#p108548"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108548#p108548"><![CDATA[
<blockquote class="uncited"><div>oh sorry forgot to give feedback it seems to work  well </div></blockquote>So you have run it.<br>Good.<br><blockquote class="uncited"><div>but the thing is using the bind join might provide a little bit more configurablility for channel since  ur current code is for general use</div></blockquote>You did it again.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>"might" ? <br>" a little bit more configurability"<br><br>All very vague.<br><br>What will happen if either I or somebody else comes along and re-writes it is:  you'll get what we want or think of.<br><br>You'd be far better off to explain what is on your mind, in detail.   Then there is a better chance of getting what you want.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 13, 2020 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-13T10:55:40-04:00</updated>

		<published>2020-06-13T10:55:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108547#p108547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108547#p108547"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108547#p108547"><![CDATA[
oh sorry forgot to give feedback it seems to work  well but the thing is using the bind join might provide a little bit more configurablility for channel since  ur current code is for general use<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 13, 2020 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-06-13T09:40:48-04:00</updated>

		<published>2020-06-13T09:40:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108546#p108546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108546#p108546"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108546#p108546"><![CDATA[
<blockquote class="uncited"><div>...<br>could we use the join bind to start counting time threshold</div></blockquote>You forgot to tell us how this worked, so far.     <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">  <br><blockquote class="uncited"><div> wich will make it more channel settings configurable i presume</div></blockquote>I don't know what you mean, yet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 13, 2020 9:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-13T08:37:47-04:00</updated>

		<published>2020-06-13T08:37:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108545#p108545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108545#p108545"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108545#p108545"><![CDATA[
tnx for the swift response willyw could we use the join bind to start counting time threshold wich will make it more channel settings configurable i presume<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 13, 2020 8:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-06-13T08:19:47-04:00</updated>

		<published>2020-06-13T08:19:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108544#p108544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108544#p108544"/>
		<title type="html"><![CDATA[Re: cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108544#p108544"><![CDATA[
<blockquote class="uncited"><div>i was wondering if eggdrop could cycle (part join like every 10 min)<br>and check for pms within like 5 sec of joining and if so to  to set ban and kick<br>...</div></blockquote><br>Try this:<br><div class="codebox"><p>Code: </p><pre><code># June 13, 2020## http://forum.egghelp.org/viewtopic.php?t=20793####bind cron - "*/10 * * * *" do_cycle###proc do_cycle {min hour day month weekday} {bind msgm - "*" msg:botputserv "part #channel_name_goes_here"utimer 5 [list unbind msgm - "*" msg:bot]}######proc msg:bot {nick uhost handle text } {##  commands to kick/ban go here}###</code></pre></div>This is un-tested.<br><br>The bind cron should accomplish your desire to do something every 10 minutes.<br>Reference:  <a href="https://crontab.guru/#*/10_*_*_*_" class="postlink">https://crontab.guru/#*/10_*_*_*_</a>*<br><br>You need to edit in the channel name to part.   This thing is currently designed to be single channel.   For now,  see if you can get it to do what you want/need.  Then, if you need it to work on more than one channel, maybe then we can doctor on it some more.<br><br>It does not actually check that the bot joined #channel, and then begin the 5 second countdown to unbinding.  You can see the "5" in there, for now - and you can tweak that to suit.<br>However, if you find that you DO need it to watch for the bot itself joining, I suppose we could use a bind join for that, and re-write it.<br><br>Let's see what happens with this.       <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jun 13, 2020 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-13T07:24:17-04:00</updated>

		<published>2020-06-13T07:24:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108543#p108543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108543#p108543"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108543#p108543"><![CDATA[
ive seen some in archieves but they seem to target specific url spam and channel add spam we were looking to target any auto greeter on join of eggbot within specific time frame (5 secs)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 13, 2020 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2020-06-13T07:25:56-04:00</updated>

		<published>2020-06-13T07:13:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108542#p108542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108542#p108542"/>
		<title type="html"><![CDATA[cycle auto greet checker]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108542#p108542"><![CDATA[
i was wondering if eggdrop could cycle (part join like every 10 min)<br>and check for pms within like 5 sec of joining and if so to  to set ban and kick<br><br>so far all i got is this i got from the archives:<br><div class="codebox"><p>Code: </p><pre><code>bind msgm - "*" msg:botproc msg:bot {nick uhost hand text} { if {![matchattr $hand n]} {  foreach chan [channels] {  if {[botisop $chan] &amp;&amp; [onchan $nick $chan]} {   pushmode $chan +b *!*@[lindex [split $uhost @] 1]   putserv "KICK $chan $nick :Do not message me in private!"   }  }  flushmode $chan }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 13, 2020 7:13 am</p><hr />
]]></content>
	</entry>
	</feed>
