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

	<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-09-19T11:55:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-09-19T11:55:31-04:00</updated>

		<published>2007-09-19T11:55:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76032#p76032</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76032#p76032"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76032#p76032"><![CDATA[
ok i tested with your edited code but it is not working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>he forward the complete news not from the nameslist.<br><br>did it helps to see the message ? like<br><br>gwnews-01: Server03 -&gt; Genf: Die <span style="color:green">angolakoennt</span> hat den <span style="color:darkred">Die Doktoren</span> ein(e,en) Versteck abgenommen.<br><br>my bot have to check the green and red name. Comes a name from the nameslist in the message, forward that my bot in my channel.<br><br>Thanks again for help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Wed Sep 19, 2007 11:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-18T16:25:20-04:00</updated>

		<published>2007-09-18T16:25:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76024#p76024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76024#p76024"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76024#p76024"><![CDATA[
Go to the first page of this topic and check the edited code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 18, 2007 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-09-18T10:14:12-04:00</updated>

		<published>2007-09-18T10:14:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76014#p76014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76014#p76014"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76014#p76014"><![CDATA[
I am not sure what you change but it is the same.  The bot forward the complete news and not only the news from the namenslist<br><br>here are the complete code.<br><br><br><blockquote class="uncited"><div>set targChan #xgc-news<br>set srcChan #gwnews.global <br>set newsBot {gwnews-[01][1-5]}<br><br>set namesList {<br>Evil One<br>Sandsturm<br>Masters<br>GeisteskrankePsychopaten<br>Wazzup<br>United Chemikers<br>becks4all<br>Vipers<br>Amplified<br>Saufköppe<br>BWG<br>Cherusker<br>D4YW4LK3RS<br>The All Stars<br>The_Pretorians<br>Hornet<br>The Unknown Giants<br>Feng Sushi<br>bandito<br>Stormfront<br>39 Boys<br>P.F.C.<br>Gertsch`s Gäng<br>The Scotsmen<br>Flügelstuzer<br>Sanitöter<br>nudelholz-bande<br>TeilzeitMafiosi<br>DVC<br>Holy Sanctuary<br>Magicans<br>Die tigers<br>Knastbrüder AG<br>unsynetic<br>DeutscheGangJäger<br>ogame<br>Bande der Zeitlosen<br>Thok´ra<br>Ruff Raider<br>rebell treter<br>united fraggers<br>willis-gang<br>Kenjis-God-Gang<br>RusskajaMafia<br>Bongomen<br><br>}<br><br>bind pubm - * forward:pubm<br><br>proc forward:pubm {n uh h chan t} {<br> global targChan srcChan newsBot namesList<br> if {[string equal -nocase $srcChan $chan]} {<br>  if {[regexp -nocase $newsBot $n]} {<br>   foreach nm $namesList {<br>    if {![string match -nocase *$nm* $t]} {continue}<br>    putmsg $targChan "$n: $t"<br>    break<br>   }<br>  }<br> }<br>}</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Tue Sep 18, 2007 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-17T16:40:00-04:00</updated>

		<published>2007-09-17T16:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75985#p75985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75985#p75985"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75985#p75985"><![CDATA[
I've edited the code, try it now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Sep 17, 2007 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-09-17T13:33:35-04:00</updated>

		<published>2007-09-17T13:33:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75984#p75984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75984#p75984"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75984#p75984"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set targChan #zielchannelset srcChan #quellchannelset newsBot {GWNEWS-[01][1-5]}set namesList { name1 name2 name3}bind pubm - * forward:pubmproc forward:pubm {n uh h chan t} { global targChan srcChan newsBot namesList if {[string equal -nocase $srcChan $chan]} {  if {[regexp -nocase $newsBot $n]} {   foreach nm $namesList {    if {![string match -nocase *$nm* $t]} {continue}    putmsg $targChan "$n: $t"    break   }  } }}</code></pre></div>Edit: Fixed bug.<br>Edit2: Changed matching method to regexp for newsBot.</div></blockquote><br>the script works nice with one to four names but it is not wok with 50 names <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.. than the bot start to posts all news and not only the news with <br>the namens list.<br><br>did you have an idea to fix that ?<br><br>BR/Ralf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Mon Sep 17, 2007 1:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-11T20:56:28-04:00</updated>

		<published>2007-08-11T20:56:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75201#p75201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75201#p75201"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75201#p75201"><![CDATA[
Oh, I didn't understand what you meant by those bots. zigana's suggestion should match them all.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Aug 11, 2007 8:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zigana]]></name></author>
		<updated>2007-08-11T09:27:56-04:00</updated>

		<published>2007-08-11T09:27:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75193#p75193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75193#p75193"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75193#p75193"><![CDATA[
Try this one.<div class="codebox"><p>Code: </p><pre><code>set newsBot {GWNEWS-(0[1-9]|1[0-5])$}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9178">zigana</a> — Sat Aug 11, 2007 9:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tsukeh]]></name></author>
		<updated>2007-08-11T09:00:54-04:00</updated>

		<published>2007-08-11T09:00:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75192#p75192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75192#p75192"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75192#p75192"><![CDATA[
Trying code then:<br><div class="codebox"><p>Code: </p><pre><code>$ tclsh% set newsBot {GWNEWS-[01][1-5]}GWNEWS-[01][1-5]% set newsBots {GWNEWS-01 GWNEWS-02 GWNEWS-03 GWNEWS-04 GWNEWS-05 GWNEWS-06 GWNEWS-07 GWNEWS-08 GWNEWS-09 GWNEWS-10 GWNEWS-11 GWNEWS-12 GWNEWS-13 GWNEWS-14 GWNEWS-15}GWNEWS-01 GWNEWS-02 GWNEWS-03 GWNEWS-04 GWNEWS-05 GWNEWS-06 GWNEWS-07 GWNEWS-08 GWNEWS-09 GWNEWS-10 GWNEWS-11 GWNEWS-12 GWNEWS-13 GWNEWS-14 GWNEWS-15% foreach n $newsBots { if ![regexp -nocase $newsBot $n] { puts $n } }GWNEWS-06GWNEWS-07GWNEWS-08GWNEWS-09GWNEWS-10%</code></pre></div>Not sure if I am misreading something..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5911">tsukeh</a> — Sat Aug 11, 2007 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-10T18:07:19-04:00</updated>

		<published>2007-08-10T18:07:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75188#p75188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75188#p75188"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75188#p75188"><![CDATA[
Should I repeat myself or you can read again? or try the code?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Aug 10, 2007 6:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tsukeh]]></name></author>
		<updated>2007-08-10T14:51:14-04:00</updated>

		<published>2007-08-10T14:51:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75184#p75184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75184#p75184"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75184#p75184"><![CDATA[
<blockquote class="uncited"><div>Try the edited code above. GWNEWS-[01][1-5] means nicknames GWNEWS-01 to GWNEWS-15.</div></blockquote>How about these bots?<br><br>GWNEWS-06<br>GWNEWS-07<br>GWNEWS-08<br>GWNEWS-09<br>GWNEWS-10<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5911">tsukeh</a> — Fri Aug 10, 2007 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-09T17:14:16-04:00</updated>

		<published>2007-08-09T17:14:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75160#p75160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75160#p75160"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75160#p75160"><![CDATA[
Try the edited code above. GWNEWS-[01][1-5] means nicknames GWNEWS-01 to GWNEWS-15.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Aug 09, 2007 5:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-08-07T15:00:10-04:00</updated>

		<published>2007-08-07T15:00:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75137#p75137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75137#p75137"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75137#p75137"><![CDATA[
in the srcChan are 15 bots from GWNEWS-01 - GWNEWS-15<br><br>and I like to forward only the news with the following names ( see in the top script ) to the target channel.<br><br>So I thing i have to change " set newsBot GW-Support " this part ?<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Tue Aug 07, 2007 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-08-03T20:46:58-04:00</updated>

		<published>2007-08-03T20:46:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74949#p74949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74949#p74949"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74949#p74949"><![CDATA[
Use GWNEWS-* or GWNEWS-??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Aug 03, 2007 8:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-08-01T03:47:42-04:00</updated>

		<published>2007-08-01T03:47:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74886#p74886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74886#p74886"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74886#p74886"><![CDATA[
did you found a solution for thhis ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Wed Aug 01, 2007 3:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Evil]]></name></author>
		<updated>2007-07-24T07:14:59-04:00</updated>

		<published>2007-07-24T07:14:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74721#p74721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74721#p74721"/>
		<title type="html"><![CDATA[Script Problem for a simple copy script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74721#p74721"><![CDATA[
ok the Message error are fixed but I have another problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>in srcChan are 15 bots like GWNEWS-01 - 15.<br>GW-Support are my eggdrob in target channel<br><br>with set newsBot GW-Support are the script not working / posting<br>when I set newsBot GWNEWS-01 comes only the news from this bot.<br><br>since i have an error in my reasoning.. did you have an idea to fix that ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8981">Evil</a> — Tue Jul 24, 2007 7:14 am</p><hr />
]]></content>
	</entry>
	</feed>
