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

	<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-05-16T15:54:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-16T15:54:58-04:00</updated>

		<published>2006-05-16T15:54:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63095#p63095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63095#p63095"/>
		<title type="html"><![CDATA[how to remove part of the text from connection notices?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63095#p63095"><![CDATA[
and demond is calling me a regex fanatic, even if I would use simple something like:<div class="codebox"><p>Code: </p><pre><code>set id [string last . [set string [string trim $string {[]@}]]]set string [string range $string 0 [expr {$id -1}]]</code></pre></div>instead of string trim, you can use another string range, but to keep flexibility of the port number it might be better that way, you can then also get the port with [string range $string [expr {$id +1}] end] (if you save the other one somewhere else), in case it is even neccessary ^-^.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue May 16, 2006 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-16T12:28:30-04:00</updated>

		<published>2006-05-16T12:28:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63092#p63092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63092#p63092"/>
		<title type="html"><![CDATA[how to remove part of the text from connection notices?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63092#p63092"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set string [string map {\[ "" \] "" @ ""} $string]regsub {\.[0-9]{1,}$} $string {} string</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 16, 2006 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mouse]]></name></author>
		<updated>2006-05-16T01:38:49-04:00</updated>

		<published>2006-05-16T01:38:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63081#p63081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63081#p63081"/>
		<title type="html"><![CDATA[how to remove part of the text from connection notices?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63081#p63081"><![CDATA[
Thank you very much <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>I need help with this thing <br><br>I need to strip @, [, ], last . and 4 numbers?  <br>how to strip last numbers and last . ? <br>[@63.24.93.77.1110]<br><br>should be 63.24.93.77<br><br>Thank you <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=5482">Mouse</a> — Tue May 16, 2006 1:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-14T17:54:18-04:00</updated>

		<published>2006-05-14T17:54:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63019#p63019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63019#p63019"/>
		<title type="html"><![CDATA[how to remove part of the text from connection notices?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63019#p63019"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regsub {\[.*\]$} $string {} string</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 14, 2006 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mouse]]></name></author>
		<updated>2006-05-14T17:13:29-04:00</updated>

		<published>2006-05-14T17:13:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63018#p63018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63018#p63018"/>
		<title type="html"><![CDATA[how to remove part of the text from connection notices?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63018#p63018"><![CDATA[
Im working on re-linking script for unrealircd <br><br>in order for eggdrop to auto relink the server. <br>have to remove this part from connection notice. <br><br>hub.000.com[24.24.24.24]<br><br>have to remove [24.24.24.24] so <br>eggdrop can do  /connect hub.000.com <br><br>I been reading about regsub, but Im not sure about what to use to strip the part.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5482">Mouse</a> — Sun May 14, 2006 5:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
