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

	<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>2002-03-06T04:30:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-03-06T04:30:00-04:00</updated>

		<published>2002-03-06T04:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5105#p5105</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5105#p5105"/>
		<title type="html"><![CDATA[Spliting stuff..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5105#p5105"><![CDATA[
Me again! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br>I found some clues about this regsub and made this nice code:<br><br>set args "arg1 arg2 arg3 arg4 arg5"<br><br>bind pub * !chk chk_chan<br><br>proc chk_chan {nick host handle chan arg} {<br>regsub -all "arg3" $list "" list<br>putserv "PRIVMSG $chan :$list"<br>}<br><br>Cool man! works great. Thx for the tip. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 06, 2002 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-03-05T11:17:00-04:00</updated>

		<published>2002-03-05T11:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5074#p5074</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5074#p5074"/>
		<title type="html"><![CDATA[Spliting stuff..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5074#p5074"><![CDATA[
Hi, give me a clue about "regsub" stuff pls. With the spliting part I can manage preaty good now, or I think i do. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"> Thx!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 05, 2002 11:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-03-05T07:40:00-04:00</updated>

		<published>2002-03-05T07:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5071#p5071</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5071#p5071"/>
		<title type="html"><![CDATA[Spliting stuff..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5071#p5071"><![CDATA[
blah, stdragon replyed same time as me with much better solution than me (actually i did think about it, but couldnt be bothered working out the regsub <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":razz:" title="Razz"> )<br><br>&lt;font size=-1&gt;[ This Message was edited by: Petersen on 2002-03-05 04:41 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Tue Mar 05, 2002 7:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-03-05T07:37:00-04:00</updated>

		<published>2002-03-05T07:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5070#p5070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5070#p5070"/>
		<title type="html"><![CDATA[Spliting stuff..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5070#p5070"><![CDATA[
You can do it pretty simply with regsub.<br><br>regsub {(.* .* ).* (.* .* .*)} $line {12} newline<br><br>You can also do it pretty simply with lreplace.<br><br>set newline [join [lreplace [split $line] 2 2]]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Mar 05, 2002 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-03-05T04:41:00-04:00</updated>

		<published>2002-03-05T04:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5059#p5059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5059#p5059"/>
		<title type="html"><![CDATA[Spliting stuff..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5059#p5059"><![CDATA[
Hi, <br>need a sugestion for how to split the next stuff..<br>I got this line: "arg1 arg2 arg3 arg4 arg5" and I want to make this line without "arg3". I was thinking to use some split from first arg to arg 3 and hen from arg 3 to the end. Any oher sugestion for this?<br><br>Thx!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 05, 2002 4:41 am</p><hr />
]]></content>
	</entry>
	</feed>
