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

	<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>2013-09-25T17:35:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ein7opf]]></name></author>
		<updated>2013-09-25T17:35:09-04:00</updated>

		<published>2013-09-25T17:35:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102066#p102066</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102066#p102066"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102066#p102066"><![CDATA[
hi! me again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>the script works nice!<br>but now i have a few new users.<br>is there a way, that the new users can add thereselfs?<br><br>something like !scanner news or mili svsnumber<br>for example: !scanner news 1569<br>or<br>!scanner mili 5890<br><br>the script should write the nick an svs on the right side in the topic (news or mili)<br><br>topic looks like this:<br><br>\\\°o° Interner Chan | Scanner: Mili &gt; FakeNick 1500, PowerMan 9800 | News &gt; ein7opf 7000 °o° -///<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8097">ein7opf</a> — Wed Sep 25, 2013 5:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ein7opf]]></name></author>
		<updated>2013-06-19T06:23:26-04:00</updated>

		<published>2013-06-19T06:23:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101696#p101696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101696#p101696"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101696#p101696"><![CDATA[
this is awesome! thanks a lot heartbroken and caesar =)<br><br>it works. i added the #chan in <div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG Q :SETTOPIC $topic" </code></pre></div>now everything is fine!<br><br>this is great. Thank you very much!<br><br>ein7opf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8097">ein7opf</a> — Wed Jun 19, 2013 6:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2013-06-19T13:38:44-04:00</updated>

		<published>2013-06-19T04:51:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101695#p101695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101695#p101695"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101695#p101695"><![CDATA[
fixed...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Wed Jun 19, 2013 4:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-06-19T05:52:06-04:00</updated>

		<published>2013-06-19T04:10:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101694#p101694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101694#p101694"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101694#p101694"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub * !svs pub:svs proc pub:svs {nick uhost hand chan text} {if {[scan $text {%d} number] !=1} {puthelp "NOTICE $nick :Usage: !svs &lt;number&gt;"return}set topic [topic $chan]set pos [lsearch -nocase $topic $nick]if {$pos != -1} {incr posset topic [lreplace $topic $pos $pos $number]puthelp "PRIVMSG Q :SETTOPIC $topic"} else {puthelp "NOTICE $nick :Sorry $nick, couldn't find you in the topic."}}</code></pre></div>Haven't tested but should be what you asked for in the first place.<br><br>PS: You will need TCL 8.5 or above, else the <em class="text-italics">lsearch</em> will bitch about <em class="text-italics">-nocase</em> option.<br><br>Edit: Fixed typo.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 19, 2013 4:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ein7opf]]></name></author>
		<updated>2013-06-18T16:17:24-04:00</updated>

		<published>2013-06-18T16:17:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101692#p101692</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101692#p101692"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101692#p101692"><![CDATA[
thanks a lot!! i will try this =) awesome <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">))<br>i have one question ... <div class="codebox"><p>Code: </p><pre><code>$x</code></pre></div> is only behind my nick. has this to be modified? the topic is an example. so fakenick and powerman should be abled to update their svs too. <br><br>thanks a lot again.<br><br>greetz .... ein7opf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8097">ein7opf</a> — Tue Jun 18, 2013 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2013-06-17T19:13:05-04:00</updated>

		<published>2013-06-17T19:13:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101690#p101690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101690#p101690"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101690#p101690"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>setudef flag tpchanbind pub n !svs tpc_pub proc tpc_pub {nick uhost hand chan text} {if {![channel get $chan tpchan]} { return 0 }set x [lindex [split $text] 0]set y {\\\°o° Interner Chan | Scanner: Mili &gt; FakeNick1, PowerMan0,1 | News &gt; ein7opf $x | !bot für Botbefehle °o° -///}putserv "privmsg Q :settopic $y"}</code></pre></div>set your channel on partyline with:<br>.chanset #your-channel +tpchan<br><br>to colorize your topic (you can add colour codes in set y {line} ) :-&gt; <a href="http://forum.egghelp.org/viewtopic.php?t=3867" class="postlink">http://forum.egghelp.org/viewtopic.php?t=3867</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Mon Jun 17, 2013 7:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ein7opf]]></name></author>
		<updated>2013-06-17T06:29:37-04:00</updated>

		<published>2013-06-17T06:29:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101689#p101689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101689#p101689"/>
		<title type="html"><![CDATA[Changing part of topic with script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101689#p101689"><![CDATA[
Hi @ alll =)<br>I am searching for a script that changes a part of the topic.<br>In the topic are users with a number of svs. This number changes frequently.<br>the command should be !svs number. for example: !svs 3500.<br>The Eggdrop should change the part of the topic where it finds the nick.<br><br>for example:<br><br>topic:<br><br>Scanner: Mili &gt; FakeNick 5000, PowerMan 3555 | News &gt; ein7opf 7000<br><br>when i say !svs 8000 in the chan, the eggdrop should change topic to:<br><br>Scanner: Mili &gt; FakeNick 5000, PowerMan 3555 | News &gt; ein7opf 8000<br><br>Chan and eggdrop are @ QuakeNet. So i think it should work with:<div class="codebox"><p>Code: </p><pre><code>/msg Q SETTOPIC ...</code></pre></div>at the moment the code for the topic is:<br><div class="codebox"><p>Code: </p><pre><code>15,14\1,14\14,1\1,1-0,1 °o° Interner Chan | Scanner: 4,1Mili &gt; FakeNick1, PowerMan0,1 | 3,1News &gt; ein7opf0,1 | !bot für Botbefehle °o° 1,1-14,1/1,14/15,14/</code></pre></div>i hope someone can help me =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8097">ein7opf</a> — Mon Jun 17, 2013 6:29 am</p><hr />
]]></content>
	</entry>
	</feed>
