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

	<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>2007-12-29T15:30:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-12-29T15:30:56-04:00</updated>

		<published>2007-12-29T15:30:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79654#p79654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79654#p79654"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79654#p79654"><![CDATA[
<blockquote class="uncited"><div>how can i get it to work in only one channel?</div></blockquote>change the bind mask from * to "#yourchan *" and .restart<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Dec 29, 2007 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Demp]]></name></author>
		<updated>2007-12-29T15:19:25-04:00</updated>

		<published>2007-12-29T15:19:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79653#p79653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79653#p79653"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79653#p79653"><![CDATA[
thnx, it works! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>but how can i get it to work in only one channel?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9582">Demp</a> — Sat Dec 29, 2007 3:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-12-29T15:07:52-04:00</updated>

		<published>2007-12-29T15:07:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79652#p79652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79652#p79652"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79652#p79652"><![CDATA[
Try this (not tested):<div class="codebox"><p>Code: </p><pre><code>bind part - * annoyproc annoy {n u h c r} {if {[isop $n $c]||[isvoice $n $c]} return;# Edit: forgot this :Pset t [topic $c]if {[scan $t %*s%*s%d i]==1} {pushmode $c +b [maskhost $n!$u]puthelp "TOPIC $c :[join [lreplace [regexp -all -inline {\S+} $t] 2 2 [incr i]]]"puthelp "NOTICE $n :I love you!"} {# invalid topic - do nothing}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Dec 29, 2007 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Demp]]></name></author>
		<updated>2007-12-29T15:00:29-04:00</updated>

		<published>2007-12-29T15:00:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79651#p79651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79651#p79651"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79651#p79651"><![CDATA[
so never mind the network... i'll just be careful with the servers.<br>can there be a validity check for the topic.. (if there is one and if the third word is a number?)<br>if not, just assume there is a topic and the third word is an integer<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9582">Demp</a> — Sat Dec 29, 2007 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-12-29T14:48:02-04:00</updated>

		<published>2007-12-29T14:48:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79649#p79649</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79649#p79649"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79649#p79649"><![CDATA[
Why would the script need to know which network your bot is on? Are you moving the bot around alot? What if there's no topic? What if the third word is not an integer?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Dec 29, 2007 2:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Demp]]></name></author>
		<updated>2007-12-29T14:19:52-04:00</updated>

		<published>2007-12-29T14:19:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79645#p79645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79645#p79645"/>
		<title type="html"><![CDATA[on part script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79645#p79645"><![CDATA[
i need an on-part script that will work for a specified channel and network (if $network == bmxnet), if a person without op\voice parts the channel, the bot will notice him, ban his host and change the topic to +1 on the third word (ex: 'flybye is 3' -&gt; 'flybye is 4').<br><br>thnx for the help in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9582">Demp</a> — Sat Dec 29, 2007 2:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
