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

	<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-04-19T00:19:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-04-19T00:19:59-04:00</updated>

		<published>2007-04-19T00:19:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72122#p72122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72122#p72122"/>
		<title type="html"><![CDATA[character limit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72122#p72122"><![CDATA[
You might also want to look at the word wrap proc created by 'user' instead of cutting off headlines at arbitrary spots. <br><br><a href="http://forum.egghelp.org/viewtopic.php?t=6690#33031" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6690#33031</a><br><br>Search the forum for 'wordwrap'  to find other discussion/variations of the same basic proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Apr 19, 2007 12:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-04-18T07:31:05-04:00</updated>

		<published>2007-04-18T07:31:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72112#p72112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72112#p72112"/>
		<title type="html"><![CDATA[character limit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72112#p72112"><![CDATA[
I'd suggest you have a look at the 'string' command, or more speciffically, 'string range'. Manpages should be available on your system, otherwize look <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm" class="postlink">here</a> for documentation.<br><br>Also, it's considdered good practise to put your code within "code-blocks" when posting here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Apr 18, 2007 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tersayang]]></name></author>
		<updated>2007-04-18T07:24:21-04:00</updated>

		<published>2007-04-18T07:24:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72111#p72111</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72111#p72111"/>
		<title type="html"><![CDATA[character limit]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72111#p72111"><![CDATA[
Can someone help me with my code, 1st this code is get a head line from news website and than parsing to channel. the codes is bellow<br>regexp -nocase {&lt;font class="tgl"&gt;(.+?)&lt;/font&gt;&lt;br&gt;} $html - rtanggal <br>    regexp -nocase {&lt;a href=\"(.+?)\" class="judul"&gt;(.+?)&lt;/a&gt;&lt;br&gt;} $html - rurl rjudul<br>    regexp -nocase {&lt;font class="deskripsi"&gt;(.+?)&lt;/font&gt;&lt;br&gt;} $html - risi<br>    <br>    <br>    if {![info exists risi]} {<br>    putlog "\[NEWS\] Republika  ErroR!!"<br>      return 0<br>    }<br>    <br>    set rurl1 "<a href="http://www.republika.co.id/$%7Brurl" class="postlink">http://www.republika.co.id/${rurl</a>}"<br>    <br>    set output " \[Republika\]4,2 ${rtanggal}8,2 ${judul}0,2 ${risi}11,2 ${rurl1}"<br><br>    foreach ruang $channels {<br>    putserv "PRIVMSG $ruang :$output"<br>  }<br> return 0<br>}<br><br>My question is how to limit the ${isi} into 50 characters only ?<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8922">tersayang</a> — Wed Apr 18, 2007 7:24 am</p><hr />
]]></content>
	</entry>
	</feed>
