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

	<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>2006-12-27T16:58:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-12-27T16:58:15-04:00</updated>

		<published>2006-12-27T16:58:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69290#p69290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69290#p69290"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69290#p69290"><![CDATA[
it`s again me .. I try to sue regsub for replace some stupid text to polish letter but it does not work: i mean this line o the code: <br>regsub  -all "¦" $match "s" match <br><br>set chan "#yourchannel"<br><br>#here we start our timer<br>timer 30 www:news<br><div class="codebox"><p>Code: </p><pre><code>proc www:news { } {   set data [http::data [http::geturl http://someurl.com]]   regexp {&lt;/a&gt; / &lt;b&gt;&lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;} $data data match likregsub  -all "¦" $match "s" match   puthelp "PRIVMSG $chan :Ostatni post na forum: \002$lik\002 - $match"set data [http::data [http::geturl http://someurl.com]]regexp {&lt;div align="right"&gt; : &lt;b&gt;(.*?)&lt;/b&gt; (.*?) &lt;/div&gt;} $data data czas godzina puthelp "PRIVMSG $chan :Wyslany $czas $godzina"set data [http::data [http::geturl http://someurl]]regexp {Nowe: wysłane przez &lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt; &lt;/span&gt;} $data data user2 user puthelp "PRIVMSG $chan :Autor: \002$user"#and one more timer to cycle www:news proctimer 30 www:news}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Wed Dec 27, 2006 4:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-12-27T12:35:43-04:00</updated>

		<published>2006-12-27T12:35:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69286#p69286</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69286#p69286"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69286#p69286"><![CDATA[
Yes, but how to do it.. I don`t know how to use it, it`s only an example<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Wed Dec 27, 2006 12:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2006-12-27T11:08:31-04:00</updated>

		<published>2006-12-27T11:08:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69281#p69281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69281#p69281"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69281#p69281"><![CDATA[
<blockquote class="uncited"><div>Ok, I fixed it ;p, but another thing for example I vae a site with:<br><div class="codebox"><p>Code: </p><pre><code>club 2:2 club2club 5:2 club3</code></pre></div>And I want to show it at irc with my script it works only with frist line, second not.. I don`t know how to do it</div></blockquote>I dont understand you, you want to post this lines to IRC useing regexp? If so youd better post here html code with this lines.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Wed Dec 27, 2006 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-12-27T06:16:18-04:00</updated>

		<published>2006-12-27T06:16:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69275#p69275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69275#p69275"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69275#p69275"><![CDATA[
Ok, I fixed it ;p, but another thing for example I vae a site with:<br><div class="codebox"><p>Code: </p><pre><code>club 2:2 club2club 5:2 club3</code></pre></div>And I want to show it at irc with my script it works only with frist line, second not.. I don`t know how to do it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Wed Dec 27, 2006 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2006-12-26T16:30:49-04:00</updated>

		<published>2006-12-26T16:30:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69263#p69263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69263#p69263"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69263#p69263"><![CDATA[
What is www:news<strong class="text-strong">1</strong> from you error msg?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Tue Dec 26, 2006 4:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-12-26T15:48:10-04:00</updated>

		<published>2006-12-26T15:48:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69261#p69261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69261#p69261"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69261#p69261"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>[19:44] wrong # args: should be "www:news1 nick host handle chan text"</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Tue Dec 26, 2006 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2006-12-26T11:10:30-04:00</updated>

		<published>2006-12-26T11:10:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69258#p69258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69258#p69258"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69258#p69258"><![CDATA[
Hope itll work.<div class="codebox"><p>Code: </p><pre><code>package require httpset chan "#yourchannel"#here we start our timertimer 30 www:newsproc www:news { } {   set data [http::data [http::geturl http://someurl.com]]   regexp {&lt;/a&gt; / &lt;b&gt;&lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;} $data data match lik   puthelp "PRIVMSG $chan :Ostatni post na forum: \002$lik\002 - $match"set data [http::data [http::geturl http://someurl.com]]regexp {&lt;div align="right"&gt; : &lt;b&gt;(.*?)&lt;/b&gt; (.*?) &lt;/div&gt;} $data data czas godzina puthelp "PRIVMSG $chan :Wyslany $czas $godzina"set data [http::data [http::geturl http://someurl]]regexp {Nowe: wysłane przez &lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt; &lt;/span&gt;} $data data user2 user puthelp "PRIVMSG $chan :Autor: \002$user"#and one more timer to cycle www:news proctimer 30 www:news}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Tue Dec 26, 2006 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FcLan]]></name></author>
		<updated>2006-12-26T10:53:23-04:00</updated>

		<published>2006-12-26T10:53:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69257#p69257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69257#p69257"/>
		<title type="html"><![CDATA[timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69257#p69257"><![CDATA[
Timer, how to send last post to channel very 30 minutes<br>pls just help me with timer.. thx<br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !forum www:newsproc www:news {nick host handle chan text} {   set data [http::data [http::geturl http://someurl.com]]   regexp {&lt;/a&gt; / &lt;b&gt;&lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;} $data data match lik   puthelp "PRIVMSG $chan :Ostatni post na forum: \002$lik\002 - $match"set data [http::data [http::geturl http://someurl.com]]regexp {&lt;div align="right"&gt; : &lt;b&gt;(.*?)&lt;/b&gt; (.*?) &lt;/div&gt;} $data data czas godzina puthelp "PRIVMSG $chan :Wyslany $czas $godzina"set data [http::data [http::geturl http://someurl]]regexp {Nowe: wysłane przez &lt;a href="(.*?)"&gt;(.*?)&lt;/a&gt; &lt;/span&gt;} $data data user2 user puthelp "PRIVMSG $chan :Autor: \002$user"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6791">FcLan</a> — Tue Dec 26, 2006 10:53 am</p><hr />
]]></content>
	</entry>
	</feed>
