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

	<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>2002-02-25T00:27:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-02-25T00:27:00-04:00</updated>

		<published>2002-02-25T00:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4905#p4905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4905#p4905"/>
		<title type="html"><![CDATA[action]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4905#p4905"><![CDATA[
Try this:<div class="codebox"><p>Code: </p><pre><code># Ban the users also?set ctcpkick_setting(ban) 0# Set the kick message here.set ctcpkick_setting(kickmsg) "Do not send me private actions."# Set the ban type here:# 1 - *!*@host.domain# 2 - *!user@host.domain# 3 - nick!*@host.domain# 4 - nick!user@host.domain# 5 - *!?user@*.host.domainset ctcpkick_setting(bantype) "1"bind ctcp - ACTION ctcp:actionkickproc ctcpkick_maskban {nick uhost} {  global ctcpkick_setting  switch -- $ctcpkick_setting(bantype) {    1 { set ban "*!*@[lindex [split $uhost @] 1]" }    2 { set ban "*!$uhost" }    3 { set ban "$nick!*@[lindex [split $uhost @] 1]" }    4 { set ban "$nick!$uhost" }    5 { set ban "[maskhost $uhost]" }    default { set ban "*!*@[lindex [split $uhost @] 1]" }  }  return $ban}proc ctcp:actionkick {nick uhost hand dest keyword text} {  global ctcpkick_setting  if {![isbotnick $dest]} { return }  foreach chan [channels] {    if {![botonchan $chan] || ![onchan $nick $chan]} { continue }    if {$ctcpkick_setting(ban)} { putserv "MODE $chan +b [ctcpkick_maskban $nick $uhost]" }    putserv "KICK $chan $nick :$ctcpkick_setting(kickmsg)"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Mon Feb 25, 2002 12:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-24T21:24:00-04:00</updated>

		<published>2002-02-24T21:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4901#p4901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4901#p4901"/>
		<title type="html"><![CDATA[action]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4901#p4901"><![CDATA[
hi ppl<br><br>i need a tcl that ban all people that do<br>an ACTION in my bot private<br>for example<br><br>/query BOT<br>in my bot private<br>/ACTION come to *<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br>tks<br><p>Statistics: Posted by Guest — Sun Feb 24, 2002 9:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
