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

	<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-01-21T09:52:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MacDaddy]]></name></author>
		<updated>2006-01-21T09:52:43-04:00</updated>

		<published>2006-01-21T09:52:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59563#p59563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59563#p59563"/>
		<title type="html"><![CDATA[ctcp version]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59563#p59563"><![CDATA[
thanks Sir_Fz works perfect  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7265">MacDaddy</a> — Sat Jan 21, 2006 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-21T06:30:05-04:00</updated>

		<published>2006-01-21T06:30:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59560#p59560</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59560#p59560"/>
		<title type="html"><![CDATA[ctcp version]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59560#p59560"><![CDATA[
Yes, try it. Or you can do it like this:<div class="codebox"><p>Code: </p><pre><code>set bversions {"*version1*" "*version2*" "*version3*"}foreach bversion $bversions { if {[string match -nocase $version $arg]} {  # found match for one of the bad versions  break }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jan 21, 2006 6:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MacDaddy]]></name></author>
		<updated>2006-01-20T23:22:59-04:00</updated>

		<published>2006-01-20T23:22:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59553#p59553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59553#p59553"/>
		<title type="html"><![CDATA[ctcp version]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59553#p59553"><![CDATA[
Sir_Fz thanks testing it now ok that works well is there a way of putting the <br><div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase "*version*" $arg]} {</code></pre></div>into more than one version like <div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase "*version1*" $arg] || [string match -nocase "*version2*" $arg]} {</code></pre></div>and so on add ing versions like that ?<br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7265">MacDaddy</a> — Fri Jan 20, 2006 11:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-20T19:04:37-04:00</updated>

		<published>2006-01-20T19:04:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59548#p59548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59548#p59548"/>
		<title type="html"><![CDATA[ctcp version]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59548#p59548"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcr - VERSION version:replybind join - * check:versionproc check:version {nick uhost hand chan} { global cversion set cversion([string tolower $nick]) 1 putserv "privmsg $nick :\001VERSION\001"}proc version:reply {nick uhost hand dest kw arg} { global cversion if {[isbotnick $dest] &amp;&amp; [info exists cversion([string tolower $nick])]} {  if {[string match -nocase "*version here*" $arg]} {   puthelp "notice $nick :message here"   unset cversion([string tolower $nick])  } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jan 20, 2006 7:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MacDaddy]]></name></author>
		<updated>2006-01-20T16:47:03-04:00</updated>

		<published>2006-01-20T16:47:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59547#p59547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59547#p59547"/>
		<title type="html"><![CDATA[ctcp version]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59547#p59547"><![CDATA[
hey all i got a mIRC script that i use and i tryed to convert it into tcl<br><br>this is the mirc scrpt.<div class="codebox"><p>Code: </p><pre><code>ON !*:JOIN:#: {  ctcp $nick version}ON *:CTCPREPLY:VERSION*: {  if (!$window(@version)) window -ne @version  aline @version $nick $1-  if (*version here* iswm $1-) {      /notice $nick $nick message here  }}</code></pre></div>and this is what i have for tcl.<div class="codebox"><p>Code: </p><pre><code>bind join - * verjoinproc verjoin {nick uhost hand chan} { if {([onchan $nick $chan]) &amp;&amp; ("[getchanhost $nick $chan]" == "$uhost")} {  if {([string match -nocase *version here* $nick])} {   putserv "NOTICE $nick message here"  } }}</code></pre></div>i dont get any errors and i dont send the notice can anyone help ?<br>thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7265">MacDaddy</a> — Fri Jan 20, 2006 4:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
