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

	<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>2001-12-10T01:15:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-10T01:15:00-04:00</updated>

		<published>2001-12-10T01:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2584#p2584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2584#p2584"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2584#p2584"><![CDATA[
OOOPS - yes<br><br>well, bind it to pubm.<br><br>I here by tender my resignation, as I just don't seem to cut the mustand any more. That and my keyboard is wearing out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Dec 10, 2001 1:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2001-12-09T15:30:00-04:00</updated>

		<published>2001-12-09T15:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2579#p2579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2579#p2579"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2579#p2579"><![CDATA[
Uwaa, its still doesn't work ppslim. Should i bind msgm to pub?<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Sun Dec 09, 2001 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-09T15:18:00-04:00</updated>

		<published>2001-12-09T15:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2578#p2578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2578#p2578"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2578#p2578"><![CDATA[
EEK<br><br>Small bugs in the forum, meant that last post was rather garbled.<br><br>And then I forget to post the fix<br><blockquote class="uncited"><div>set coloruser {}<br>bind msgm - "% *" color:kicker<br>proc color:kicker {nick uh hand chan arg} {<br>  global coloruser<br>  if {[regexp -all -- {03[0-9]{0,2}(,[0-9]{0,2})?} $arg]} {<br>    if {[set idx [lsearch -exact $coloruser $nick]]} {<br>      set coloruser [lreplace $coloruser $idx $idx]<br>      putserv "NOTICE $nick :Banned for colors"<br>      putserv "MODE $chan +b [maskhost "${nick}!${uh}"]"<br>      putserv "KICK $chan $nick :Banned for colors"<br>      return<br>    }<br>    lappend coloruser $nick<br>    putserv "NOTICE $nick :Stop usign colors"<br>    putserv "KICK $chan $nick :Color user"<br>  }<br>}</div></blockquote>There is no need to set anything in the "set coloruser" line, that is there to make the script function corectly.<br><br>&lt;font size=-1&gt;[ This Message was edited by: ppslim on 2001-12-09 12:19 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 09, 2001 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2001-12-09T15:14:00-04:00</updated>

		<published>2001-12-09T15:14:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2577#p2577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2577#p2577"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2577#p2577"><![CDATA[
ppslim,<br><br>What should I add to this field 'set coloruser {}'. I had changed 'prco' to be proc, then the script doesn't function.<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Sun Dec 09, 2001 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-09T14:37:00-04:00</updated>

		<published>2001-12-09T14:37:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2575#p2575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2575#p2575"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2575#p2575"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set coloruser {}bind msgm - "% *" color:kickerprco color:kicker {nick uh hand chan arg} {  global coloruser  if {[regexp -all -- {[1code]set coloruser {}bind msgm - "% *" color:kickerprco color:kicker {nick uh hand chan arg} {  global coloruser  if {[regexp -all -- {03[0-9]{0,2}(,[0-9]{0,2})?} $arg]} {    if {[set idx [lsearch -exact $coloruser $nick]]} {      set coloruser [lreplace $coloruser $idx $idx]      putserv "NOTICE $nick :Banned for colors"      putserv "MODE $chan +b [maskhost "${nick}!${uh}"]"      putserv "KICK $chan $nick :Banned for colors"      return    }    lappend coloruser $nick    putserv "NOTICE $nick :Stop usign colors"    putserv "KICK $chan $nick :Color user"  }}[/code1]03[0-9]{0,2}(,[0-9]{0,2})?} $arg]} {    if {[set idx [lsearch -exact $coloruser $nick]]} {      set coloruser [lreplace $coloruser $idx $idx]      putserv "NOTICE $nick :Banned for colors"      putserv "MODE $chan +b [maskhost "${nick}!${uh}"]"      putserv "KICK $chan $nick :Banned for colors"      return    }    lappend coloruser $nick    putserv "NOTICE $nick :Stop usign colors"    putserv "KICK $chan $nick :Color user"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 09, 2001 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2001-12-09T14:18:00-04:00</updated>

		<published>2001-12-09T14:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2573#p2573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2573#p2573"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2573#p2573"><![CDATA[
PPSLIM,<br><br>Hehe, I know that, but I wonder how 'darkbot' use in #irc_help Undernet can do that. When someone paste info in the public, the botz will kick that person.<br><br>Anyway, if it's difficult to make this tcl scripts, just forget about it. It's some idea for me to increase channel protection newdays. Thanks, ppslim.<br><br>Furthermore, can u write a tcl that can kick (first time), ban (second time) with reason and channel specified if some irc users using colors in public.<br><br>Thanks.<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Sun Dec 09, 2001 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-09T14:02:00-04:00</updated>

		<published>2001-12-09T14:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2570#p2570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2570#p2570"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2570#p2570"><![CDATA[
Many irc client, and even client scripts, have different ways of diaplayin there output. Because of this, it would be extramly hard to do.<br><br>Every line of text that the bot receives from irc, would have to be checked, match against a very large list of information, to detects each and every script/client.<br><br>This would be rather slow.<br><br>In general, just to detect if a user is pasting somthing, would be rather hard. Irc was invented before cut-copy-paste, and there is just plain no code, or information sugesting it has been pasted.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 09, 2001 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2001-12-09T13:00:00-04:00</updated>

		<published>2001-12-09T13:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2567#p2567</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2567#p2567"/>
		<title type="html"><![CDATA[Channel Utility TCL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2567#p2567"><![CDATA[
Hi there,<br><br>Somebody can help me to build up 'Paste Channel.tcl' I.e. Somebody entered my channel and do whois on me. Then he paste my whois info in the main public channel. So that, the tcl detect that he paste information in the channel. Therefore, he will be kick out for the first time and for the second time he'll get banned.<br><br>p/s: paste information isn't limit to whois info, means that tcl can detect that users paste some information that he/she get in irc in the public. I.e. as below;<br><br>I paste,<br>[23:02] *** Joins: caruf (<a href="mailto:c_est@215-211.sh.cgocable.ca">c_est@215-211.sh.cgocable.ca</a>) in #slennox.<br>Then, my tcl/bot detect it's a paste information, so i'll get kick out.<br><br>I paste,<br>[23:05] *** Quits: Rafael_^ (<a href="mailto:mala@dl-nas1-sjp-C8B1BA4A.p001.terra.com.br">mala@dl-nas1-sjp-C8B1BA4A.p001.terra.com.br</a>) (perai...) in #slennox. Then, my bot/tcl detect it's a paste information, so i'll get kick out.<br><br>etc etc..<br><br>Thanks.<br><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Sun Dec 09, 2001 1:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
