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

	<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>2010-05-24T16:26:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2010-02-16T06:53:11-04:00</updated>

		<published>2010-02-16T06:53:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92113#p92113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92113#p92113"/>
		<title type="html"><![CDATA[[solved] Regex help - cant get my head around this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92113#p92113"><![CDATA[
Send the message after two seconds.<div class="codebox"><p>Code: </p><pre><code>utimer 2 [list puthelp "PRIVMSG $chan :ReqId echo -&gt; $arg"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 16, 2010 6:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2010-02-16T06:38:02-04:00</updated>

		<published>2010-02-16T06:38:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92112#p92112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92112#p92112"/>
		<title type="html"><![CDATA[[solved] Regex help - cant get my head around this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92112#p92112"><![CDATA[
ignore, change:<div class="codebox"><p>Code: </p><pre><code>if {[regsub -all -nocase {.*ReqId:\[(.*)\].*} $arg {\1} arg]} {</code></pre></div>to<br><div class="codebox"><p>Code: </p><pre><code>if {[regsub -all -nocase {.*again\?\s+ReqId:\[(.*)\].*} $arg {\1} arg]} {</code></pre></div>'sleep'<br><a href="http://tmml.sourceforge.net/doc/tcl/after.html" class="postlink">http://tmml.sourceforge.net/doc/tcl/after.html</a><br><br>or try something with TCL timers<br><br>cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Tue Feb 16, 2010 6:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-02-15T17:51:00-04:00</updated>

		<published>2010-02-15T17:51:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92108#p92108</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92108#p92108"/>
		<title type="html"><![CDATA[[solved] Regex help - cant get my head around this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92108#p92108"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[09:39pm] &lt;&lt;inner-b0t&gt;  That was awesome [*Anonymous*] Shall we do it again? ReqId:[126675][09:39pm] &lt;hub&gt; -sendnzb 126675</code></pre></div>thanks tomekk your a star <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>just one more quick question <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>how would implement a 2 sec delay for the PRIVMSG response <br><br>thanks again too it works a treat <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>edit:<br><br>would it be possible for it to ignore this line <br><br><div class="codebox"><p>Code: </p><pre><code>&lt;inner-b0t&gt;  Request Expired after 30 days ReqId:[122673]</code></pre></div>as it responds in channel with <br><div class="codebox"><p>Code: </p><pre><code> [12:20am] &lt;inner-b0t&gt; Request Expired after 30 days ReqId:[122673] [FULL 0 this.is.a.test][12:20am] &lt;hub&gt; -sendnzb 122673] [FULL 0 this.is.a.test</code></pre></div>thanks for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Mon Feb 15, 2010 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2010-02-15T12:37:42-04:00</updated>

		<published>2010-02-15T12:37:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92107#p92107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92107#p92107"/>
		<title type="html"><![CDATA[[solved] Regex help - cant get my head around this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92107#p92107"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set the_nick "tomekk"##############################################bind pubm -|- "*" check_lineproc check_line { nick uhost hand chan arg } {        global the_nick        if {$the_nick == $nick} {                if {[regsub -all -nocase {.*ReqId:\[(.*)\].*} $arg {\1} arg]} {                        putquick "PRIVMSG $chan :ReqId echo -&gt; $arg"                }        }}putlog "whatever.tcl loaded"</code></pre></div><blockquote class="uncited"><div>17:36:48 &lt;@tomekk&gt; That was awesome [*Anonymous*] Shall we do it again? ReqId:[126556]<br>17:36:48 &lt; botty&gt; ReqId echo -&gt; 126556</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Mon Feb 15, 2010 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-05-24T16:26:55-04:00</updated>

		<published>2010-02-14T09:48:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92101#p92101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92101#p92101"/>
		<title type="html"><![CDATA[[solved] Regex help - cant get my head around this]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92101#p92101"><![CDATA[
i have a script running i one channel that has lots of spam info in , that relays certain parts of that info to another channel over the bot net, <br><br>but i know need somthing with regex /me is a n00b with regex,<br><br>the bots name i want to monitor is inner-b0t and when this line is said on my $chan it will strip out just the request id number, ie :<br><br><br><div class="codebox"><p>Code: </p><pre><code> &lt;inner-b0t&gt; That was awesome [*Anonymous*] Shall we do it again? ReqId:[126556]</code></pre></div>and then MSG  $another_channel <br><div class="codebox"><p>Code: </p><pre><code> -send $req-number</code></pre></div>so in $another_channel it would read<br><div class="codebox"><p>Code: </p><pre><code> &lt;inner-b0t&gt; -send 126556   </code></pre></div>the line is always the same but the reqid is different and i have no clue how to script this <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br><br>thanks guys hope someone can help me <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=11046">doggo</a> — Sun Feb 14, 2010 9:48 am</p><hr />
]]></content>
	</entry>
	</feed>
