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

	<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-11-06T08:58:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-22T19:59:02-04:00</updated>

		<published>2006-10-22T19:59:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67348#p67348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67348#p67348"/>
		<title type="html"><![CDATA[[help] $strip in tcl [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67348#p67348"><![CDATA[
I did read it, that's why I showed the poster the equivalent command for stripping codes.. But, if criticising me elicits a better answer, that's fine by me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Oct 22, 2006 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-10-22T11:27:05-04:00</updated>

		<published>2006-10-22T11:27:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67324#p67324</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67324#p67324"/>
		<title type="html"><![CDATA[[help] $strip in tcl [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67324#p67324"><![CDATA[
You should read his post first rosc2112.<br><br>Ontopic:<br><br>You would need to bind * to pubm and strip the codes out.<br><br>example:<div class="codebox"><p>Code: </p><pre><code>bind pubm -|- * find:procproc find:proc {nick host hand chan arg} {  set arg [stripcodes bcru $arg]  if {[string equal -nocase "!find" [lindex [split $arg] 0]]} {    myfindproc $nick $host $hand $chan [lrange [split $arg] 1 end]  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun Oct 22, 2006 11:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-22T05:03:40-04:00</updated>

		<published>2006-10-22T05:03:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67320#p67320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67320#p67320"/>
		<title type="html"><![CDATA[[help] $strip in tcl [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67320#p67320"><![CDATA[
From the eggdrop tcl-commands.doc:<br><br>  stripcodes &lt;strip-flags&gt; &lt;string&gt;<br>    Description: strips specified control characters from the string given.<br>      strip-flags can be any combination of the following:<br>        b - remove all boldface codes<br>        c - remove all color codes<br>        r - remove all reverse video codes<br>        u - remove all underline codes<br>        a - remove all ANSI codes<br>        g - remove all ctrl-g (bell) codes<br>    Returns: the stripped string.<br>    Module: core<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Oct 22, 2006 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[w00f]]></name></author>
		<updated>2006-11-06T08:58:33-04:00</updated>

		<published>2006-10-21T17:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67315#p67315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67315#p67315"/>
		<title type="html"><![CDATA[[help] $strip in tcl [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67315#p67315"><![CDATA[
hi there again.<br><br>I've started a script , but i'm still a complete n00b in tcl scripting and i don't know how to get one one word from one linked phrase.<br><br>script usage:<br>!add &lt;game-Version&gt; &lt;url&gt; &lt;type&gt;<br><br>(someone) !add game-V69 &lt;URL&gt; &lt;Type&gt;<br>(someone) !find game-V69<br>(bot) [&lt;Type&gt;] Current version of <strong class="text-strong">game</strong> is <strong class="text-strong">V69</strong> , you can find it at &lt;URL&gt;.<br><br>i just need to know how i can "extract" the &lt;version&gt;. cuz all the remaining is done.<br><br>The &lt;version&gt; identifier can be one of diverse types of identificators like V1 , GOD , whatever, but it is always in the end , separated for one "-" from the game.name<br><br><br>EDIT: Already Solved the problem using split and lrange, easy :x .<br><br>-&gt; I guess i can use this topic for one other problem , tcl has any kind of command to do the same as $strip(mIRC scripting) ?<br>i need that coz i'm using <br><br>bind pub - !find<br><br>and if !find is in bold , underlined or colored the bot doesn't do the search.<br>someone can help me with that ?<br><br><br>tnks in advance.<br><br><br>EDIT: Solved m8's , tks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8264">w00f</a> — Sat Oct 21, 2006 5:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
