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

	<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>2023-10-16T08:33:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2023-10-16T08:33:13-04:00</updated>

		<published>2023-10-16T08:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112239#p112239</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112239#p112239"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112239#p112239"><![CDATA[
It cant, kick ban everyone who doesnt reply to version <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=8470">FmX</a> — Mon Oct 16, 2023 8:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-10-15T15:01:20-04:00</updated>

		<published>2023-10-15T15:01:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112238#p112238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112238#p112238"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112238#p112238"><![CDATA[
yes, i understand it is for spambot.. <br><br><br>but my bot which is Trivia bot it is not a spam bot. and still<br>kick/ban my bot.<br><br>how the bot should decide if this bot  is a spam bot or not?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Sun Oct 15, 2023 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2023-10-15T14:37:36-04:00</updated>

		<published>2023-10-15T14:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112237#p112237</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112237#p112237"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112237#p112237"><![CDATA[
Its against spam bots who join spam and leave. <br>They doesnt respond to version <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=8470">FmX</a> — Sun Oct 15, 2023 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-10-15T14:25:09-04:00</updated>

		<published>2023-10-15T14:25:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112236#p112236</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112236#p112236"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112236#p112236"><![CDATA[
hey man simo, in this forum i am not posting a comment without testing it.<br><br>yes i've tried it. and it works.<br><br>just wondering, if a user (No CTCP version reply) .. it will kick/ban the user.<br><br>again, just wondering..<br><br>if you can explain it to me what's the point on this script to be used in this channel so that i ca n understand. i am not like you can create this kind of script and understand the flow.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Sun Oct 15, 2023 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-10-15T09:57:51-04:00</updated>

		<published>2023-10-15T09:57:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112235#p112235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112235#p112235"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112235#p112235"><![CDATA[
<blockquote class="uncited"><div>so this is the function of this script<br><br><div class="codebox"><p>Code: </p><pre><code>* Trivia (ux@Tri.via) has joined #aslpls* aslbot sets mode: +b *!*@Tri.via* Trivia was kicked by aslbot (No CTCP version reply)</code></pre></div><br>I think it will kick all the users joining the channel  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"></div></blockquote>meaning u tested it and thats what happened or you just think that happens without even testing it ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun Oct 15, 2023 9:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2023-10-15T08:24:06-04:00</updated>

		<published>2023-10-15T08:24:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112234#p112234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112234#p112234"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112234#p112234"><![CDATA[
so this is the function of this script<br><br><div class="codebox"><p>Code: </p><pre><code>* Trivia (ux@Tri.via) has joined #aslpls* aslbot sets mode: +b *!*@Tri.via* Trivia was kicked by aslbot (No CTCP version reply)</code></pre></div><br>I think it will kick all the users joining the channel  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Sun Oct 15, 2023 8:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2023-10-15T06:24:52-04:00</updated>

		<published>2023-10-15T06:24:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112233#p112233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112233#p112233"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112233#p112233"><![CDATA[
or/and you could use it with public command to enable/disable in channel <br><br>Syntax: !version on/off<br><div class="codebox"><p>Code: </p><pre><code>bind PUB n !version Pub:Version:Checker setudef flag vcheckproc Pub:Version:Checker {nick uhost hand chan arg} {  switch -nocase -- [lindex [split $arg] 0] {    on {      if {[channel get $chan vcheck]} {        putserv "NOTICE $nick :Version-Checker is already enabled on $chan."      } else {         channel set $chan +vcheck        putserv "NOTICE $nick :Version-Checker is now enabled on $chan."}    }    off {      if {![channel get $chan vcheck]} {        putserv "NOTICE $nick :Version-Checker is already disabled on $chan."      } else {        channel set $chan -vcheck        putserv "NOTICE $nick :Version-Checker is now disabled on $chan."     }    }      }}bind join - * check:versionbind ctcr - VERSION version:replyproc check:version {nick uhost hand chan} {   global cversion   if {$nick eq $::botnick} {return}   if {![channel get $chan vcheck]} { return }   set cversion([string tolower $nick]) 1   putserv "PRIVMSG $nick :\001VERSION\001"   utimer 15 [list no:version:reply $nick $uhost $chan]}proc version:reply {nick uhost hand dest kw arg} { global cversion if {[info exists cversion([string tolower $nick])]} {  unset cversion([string tolower $nick]) }}proc no:version:reply {nick uhost chan} { global cversion if {[info exists cversion([string tolower $nick])] &amp;&amp; [onchan $nick $chan]} {  putserv "MODE $chan +b *!*@[lindex [split $uhost @] 1]"  putserv "KICK $chan $nick :No CTCP version reply"  unset cversion([string tolower $nick])  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun Oct 15, 2023 6:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2023-10-15T01:47:26-04:00</updated>

		<published>2023-10-15T01:47:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112230#p112230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112230#p112230"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112230#p112230"><![CDATA[
Ok, cool thanks. But if i want to run on specific channels, here to add?<br>bind join - "#yourchan #test2 *" check:version<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8470">FmX</a> — Sun Oct 15, 2023 1:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2023-10-14T18:21:03-04:00</updated>

		<published>2023-10-14T18:21:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112227#p112227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112227#p112227"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112227#p112227"><![CDATA[
If you want to use it on only one channel, just modify the bind join:<div class="codebox"><p>Code: </p><pre><code>bind join - "#yourchan *" check:version</code></pre></div>If you want to use it on several channels, the better way is to add a channel setting and check if it's enabled or not for the joined channel:<div class="codebox"><p>Code: </p><pre><code>setudef flag vcheckbind join - * check:version proc check:version {nick uhost hand chan} {   global cversion   if {$nick eq $::botnick} {return}   if {![channel get $chan vcheck]} { return }   set cversion([string tolower $nick]) 1   putserv "PRIVMSG $nick :\001VERSION\001"   utimer 15 [list no:version:reply $nick $uhost $chan]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sat Oct 14, 2023 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FmX]]></name></author>
		<updated>2023-10-14T12:57:25-04:00</updated>

		<published>2023-10-14T12:57:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112226#p112226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112226#p112226"/>
		<title type="html"><![CDATA[Add channel to to this script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112226#p112226"><![CDATA[
Hello, can someone told me how to make this script to work on channels that i want:<br><div class="codebox"><p>Code: </p><pre><code>bind ctcr - VERSION version:reply bind join - * check:version proc check:version {nick uhost hand chan} { if {$nick eq $::botnick} {return} global cversion  set cversion([string tolower $nick]) 1  putserv "PRIVMSG $nick :\001VERSION\001"  utimer 15 [list no:version:reply $nick $uhost $chan] } proc version:reply {nick uhost hand dest kw arg} {  global cversion  if {[info exists cversion([string tolower $nick])]} {   unset cversion([string tolower $nick])  } } proc no:version:reply {nick uhost chan} {  global cversion  if {[info exists cversion([string tolower $nick])] &amp;&amp; [onchan $nick $chan]} {   putserv "MODE $chan +b *!*@[lindex [split $uhost @] 1]"   putserv "KICK $chan $nick :No CTCP version reply"   unset cversion([string tolower $nick])   } } </code></pre></div>Thanks <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=8470">FmX</a> — Sat Oct 14, 2023 12:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
