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

	<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>2005-07-29T17:12:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T17:12:11-04:00</updated>

		<published>2005-07-29T17:12:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53487#p53487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53487#p53487"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53487#p53487"><![CDATA[
i want to thank you a lot for the script and for your comment.<br>sorry why i have no experiance and try to find solutions but if you search  to find out that is the first tcl doing that.<br>Hope to help and other ppl and not only me and let me be an idiot.<br><br>many thanks to: demondand special thanks to Sir_Fz and greenbear.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-29T16:15:25-04:00</updated>

		<published>2005-07-29T16:15:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53481#p53481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53481#p53481"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53481#p53481"><![CDATA[
Here's the final piece of the code, building on the code Sir_Fz already wrote for you. So now you can stop blaming others because you're a total idiot.<div class="codebox"><p>Code: </p><pre><code>bind join - * ask:verbind ctcr - VERSION get:verproc ask:ver {nick uhost hand chan} { global askedv if {![isbotnick $nick]} {  puthelp "PRIVMSG $nick :\001VERSION\001"  set askedv([string tolower $nick]) 1  utimer 25 [list no:vreply $nick] }}proc get:ver {nick uhost hand dest key arg} { global askedv if {[info exists askedv([string tolower $nick])]} {  putlog "$nick has a version reply"  unset askedv([string tolower $nick]) }}proc no:vreply {nick} { global askedv if {[info exists askedv([string tolower $nick])]} {   putlog "$nick has no version reply"   unset askedv([string tolower $nick]) }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Fri Jul 29, 2005 4:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rudenstam]]></name></author>
		<updated>2005-07-29T16:10:47-04:00</updated>

		<published>2005-07-29T16:10:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53480#p53480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53480#p53480"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53480#p53480"><![CDATA[
if anyone else is up for 6hours spoonfeeding him<br><br>I'm sure you will understand me and greenbear <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4967">rudenstam</a> — Fri Jul 29, 2005 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T15:45:35-04:00</updated>

		<published>2005-07-29T15:45:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53479#p53479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53479#p53479"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53479#p53479"><![CDATA[
sorry ppl but after what happend on #egghelp i have to say that:<br><br>1.thanks the user greenbear for help.Even if the proc doesnt work.<br>2.Thanks the user rudenstam for his comments like "let's just say that some people arn't supposed to run eggdrops.... and you are one of them"<br><br>At last i say another one time.<br>I want to make a tcl that the results "version reply exist or not exist" can be catched after a 20 sec.<br><br>anyone if want to help just help.Nothing more.<br><br>Thanks for your attention<br><br>p.s. sorry but i didn born knowed tcl language like others.<br>i am glad to make some ppl "laughing at me on teh forum":)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T14:40:05-04:00</updated>

		<published>2005-07-29T14:40:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53476#p53476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53476#p53476"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53476#p53476"><![CDATA[
well i tried like that as you propose<br><div class="codebox"><p>Code: </p><pre><code>proc ask:ver {nick uhost hand chan} { global askedv if {![isbotnick $nick]} {  puthelp "PRIVMSG $nick :\001VERSION\001"  set askedv([string tolower $nick]) 1utimer 5 [list get:ver $nick $uhost $hand $dest $key $arg] }}</code></pre></div>the errors and the results:<br>when the script had version reply :<br><br>[21:27:01] &lt;Bot&gt;  testingmon joined # <br>[21:27:03] &lt;Bot&gt;  testingmon has a version reply<br>[21:27:03] &lt;Bot&gt; CTCP reply VERSION: mIRC v6.12 Khaled Mardam-Bey from testingmon  to Bot<br><br>when the script have no reply the results:<br>[21:27:22] &lt;Bot&gt; testingmon  joined #<br>[21:27:22] &lt;Bot&gt; Tcl error [ask:ver]: can't read "dest": no such variable<br><br>Meaning that: wrong arguments and if you observ the timer does not exist.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-29T14:14:22-04:00</updated>

		<published>2005-07-29T14:14:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53475#p53475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53475#p53475"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53475#p53475"><![CDATA[
in the proc that issues CTCP VERSION<br><br>and 5 seconds is too low, because of the possible lag you should give clients at least 10 seconds to reply<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Jul 29, 2005 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T13:54:19-04:00</updated>

		<published>2005-07-29T13:54:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53472#p53472</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53472#p53472"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53472#p53472"><![CDATA[
where? cause i tried all possible places and errors like :<br>can't read "uhost": no such variable<br>    while executing<br>"list check $nick $uhost $hand $dest $key $arg"<br> etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 1:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-29T13:11:10-04:00</updated>

		<published>2005-07-29T13:11:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53470#p53470</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53470#p53470"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53470#p53470"><![CDATA[
you need to set your timer outside the ctcr handler<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Jul 29, 2005 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T12:29:46-04:00</updated>

		<published>2005-07-29T12:29:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53468#p53468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53468#p53468"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53468#p53468"><![CDATA[
still not working<br><div class="codebox"><p>Code: </p><pre><code>bind join - * ask:verbind ctcr - VERSION get:verproc ask:ver {nick uhost hand chan} { global askedv if {![isbotnick $nick]} {  puthelp "PRIVMSG $nick :\001VERSION\001"  set askedv([string tolower $nick]) 1 }}proc get:ver {nick uhost hand dest key arg} { global askedv utimer 5 [list check $nick $uhost $hand $dest $key $arg]}proc check {nick uhost hand dest key arg} {global askedvif {![info exists askedv([string tolower $nick])]} {putlog "$nick has NOT a version reply"unset askedv([string tolower $nick])} else  {putlog "$nick has a version reply"unset askedv([string tolower $nick]) }}</code></pre></div>i have add a timer for reply.when version exist then everything ok.<br>when not nothing happend<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-29T10:27:58-04:00</updated>

		<published>2005-07-29T10:27:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53456#p53456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53456#p53456"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53456#p53456"><![CDATA[
If the nick replied to a version request then it does have a reply. Something like this should make it clearer for you:<div class="codebox"><p>Code: </p><pre><code>bind join - * ask:verbind ctcr - VERSION get:verproc ask:ver {nick uhost hand chan} { global askedv if {![isbotnick $nick]} {  puthelp "PRIVMSG $nick :\001VERSION\001"  set askedv([string tolower $nick]) 1 }}proc get:ver {nick uhost hand dest key arg} { global askedv if {[info exists askedv([string tolower $nick])]} {  putlog "$nick has a version reply"  unset askedv([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 Jul 29, 2005 10:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-29T04:28:41-04:00</updated>

		<published>2005-07-29T04:28:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53444#p53444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53444#p53444"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53444#p53444"><![CDATA[
part of the script:<br><blockquote class="uncited"><div>bind join - * verjoin<br>bind ctcr - VERSION verreply<br><br>proc verjoin {nick uhost hand chan} {<br>if {((![isbotnick $nick]) &amp;&amp; (![isbotnick [hand2nick $hand $chan]]))} {<br>if {([onchan $nick $chan]) &amp;&amp; ("[getchanhost $nick $chan]" == "$uhost") &amp;&amp; (![isvoice $nick $chan]) &amp;&amp; (![isop $nick $chan])} {<br>putserv "PRIVMSG $nick :\001VERSION\001"<br>       }<br>   } <br>}<br><br>proc verreply {nick uhost hand dest key arg} {<br>global botnick<br>if {[string tolower $nick] != [string tolower $botnick]} {<br>if {[string match "*VERSION*" [lindex $arg 0]]} {<br>putlog "user have version"<br>} else {<br>putlog "NO version reply."<br><br>.................................................................................................<br>this one is wrong.<br>how must modify that?<br>i dont care the version if is mirc,xicr,pirch,xchat,windows chat or anything else. <br><br><br>thanks for your attention<br></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Fri Jul 29, 2005 4:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-28T16:56:38-04:00</updated>

		<published>2005-07-28T16:56:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53427#p53427</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53427#p53427"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53427#p53427"><![CDATA[
yes, [bind ctcr] catches CTCP replies (VERSION is one of them)<br><br>and no, there is no sure way of recognizing channel user as drone - most dronebots (sdbot definitely) do a pretty good job in disguising as normal mIRC users (you can't catch those by their CTCP replies)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jul 28, 2005 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyEgg]]></name></author>
		<updated>2005-07-28T16:17:41-04:00</updated>

		<published>2005-07-28T16:17:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53423#p53423</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53423#p53423"/>
		<title type="html"><![CDATA[no ctcp reply help needed]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53423#p53423"><![CDATA[
I have a little problem.<br><br>Last month i had attack with sdbots.after all i saw that looks like a human user(with ident/real name/nick etc.).only one bug have.cause this spam are zombies pc and many of them have version reply.others have and ping reply but noone have time reply(until now).<br><br>so what is my problem now.I try to detect onjoin and with a delay of 20 sec version/ping/time.Is the only solution what i have.I try with bind ctcr.<br>i have response like:<br>CTCP reply VERSION: mIRC v6.16 Khaled Mardam-Bey from $nick(uhost) to $botnick.<br><br>what is the correct to find out the user without version/ping/time reply?<br>ctcr detect text after CTCP reply VERSION:<br>i try to find out what means "CTCP reply VERSION:"<br>Is that an action? notc? msg? ctcp? and if yes what is the correct procedure?<br><br>thanks and sorry for my english<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6534">CrazyEgg</a> — Thu Jul 28, 2005 4:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
