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

	<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>2004-08-03T01:23:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-08-03T01:23:18-04:00</updated>

		<published>2004-08-03T01:23:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39410#p39410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39410#p39410"/>
		<title type="html"><![CDATA[hmmmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39410#p39410"><![CDATA[
What I have to do is a ctcp time against another nick.  Specific clients(bots) hide under version information of other clients, but when you to the ctcp time against them.  The returned time format is not the same as the client version they are faking.  But, what I think I need which I beleive was answered was the following for me to bind to the event that I can use to make the determination as to if it is a bot or not.<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG $nick :\001TIMEbind ctcr - TIME TIME:reply </code></pre></div>Thank you for the help, its very much appriceated.<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Tue Aug 03, 2004 1:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-03T01:01:33-04:00</updated>

		<published>2004-08-03T01:01:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39409#p39409</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39409#p39409"/>
		<title type="html"><![CDATA[ctcp time reply question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39409#p39409"><![CDATA[
<blockquote class="uncited"><div>[expr ([clock clicks -milliseconds] - $text) / 1000.0]</div></blockquote>That's a perfect example of how NOT to do it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> $text will be evaluated allowing people to execute what ever tcl commands they want.<br>Add a couple of braces around the expression to prevent this. ([expr {...}]) Ideally you should also make sure that $text is a number before doing the expr.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Aug 03, 2004 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-08-02T23:57:29-04:00</updated>

		<published>2004-08-02T23:57:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39408#p39408</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39408#p39408"/>
		<title type="html"><![CDATA[ctcp time reply question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39408#p39408"><![CDATA[
Here's an simple example just to give you an idea on how it works<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !ping pub:pingbind ctcr - PING ping:replyproc pub:ping {nick uhost hand chan text} { putserv "PRIVMSG $nick :\001PING [clock clicks -milliseconds]\001"}proc ping:reply {nick uhost hand dest keyword text} { putserv "NOTICE $nick :[expr ([clock clicks -milliseconds] - $text) / 1000.0] seconds" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Aug 02, 2004 11:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-08-02T23:47:08-04:00</updated>

		<published>2004-08-02T23:47:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39407#p39407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39407#p39407"/>
		<title type="html"><![CDATA[this maybe?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39407#p39407"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bindraw-CTCP</code></pre></div>and then figure it out from there??<br><br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Mon Aug 02, 2004 11:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-08-02T23:46:21-04:00</updated>

		<published>2004-08-02T23:46:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39406#p39406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39406#p39406"/>
		<title type="html"><![CDATA[ctcp time reply question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39406#p39406"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcr - PING your:proc</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Aug 02, 2004 11:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[droolin]]></name></author>
		<updated>2004-08-02T23:32:18-04:00</updated>

		<published>2004-08-02T23:32:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39405#p39405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39405#p39405"/>
		<title type="html"><![CDATA[ctcp time reply question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39405#p39405"><![CDATA[
I need to develope a script that interpits a ctcp time reply from a nick that the script initiates.  My question is what would I use for the script to bind to the reply event?  I thought it would be a raw numeric, but I do not see no numerics for the ctcp time reply.  I wouldnt think it would be a notice, because that just isnt a notice.  <br>Any sugestions would be greatly appriceated.  <br>Thank you in advance.<br><br>droolin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3562">droolin</a> — Mon Aug 02, 2004 11:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
