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

	<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>2006-07-31T13:27:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[krimson]]></name></author>
		<updated>2006-07-31T13:27:15-04:00</updated>

		<published>2006-07-31T13:27:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65042#p65042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65042#p65042"/>
		<title type="html"><![CDATA[.+ban and .kickban in a tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65042#p65042"><![CDATA[
@tucow: as Nara pointed out, dcc commands are not the same with tcl commands accepted by eggdrop. you should read <em class="text-italics">tcl-commands.doc</em> in your <em class="text-italics">~/docs</em> folder<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7663">krimson</a> — Mon Jul 31, 2006 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nara]]></name></author>
		<updated>2006-07-31T12:20:18-04:00</updated>

		<published>2006-07-31T12:20:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65040#p65040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65040#p65040"/>
		<title type="html"><![CDATA[.+ban and .kickban in a tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65040#p65040"><![CDATA[
If I'm not mistaken, there's not an integrated ban command, so you have to putmode a +b hostmask and then a putkick on them.<br><br>As for +ban, if it's a channel ban, use newchanban. If it's a global ban, use newban.<br><br>~Nara<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8006">Nara</a> — Mon Jul 31, 2006 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tucow]]></name></author>
		<updated>2006-07-31T12:05:07-04:00</updated>

		<published>2006-07-31T12:05:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65039#p65039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65039#p65039"/>
		<title type="html"><![CDATA[.+ban and .kickban in a tcl script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65039#p65039"><![CDATA[
Hello,<br><br>how could i use .+ban and .kickban in a tcl script?<br><br>I tried the following, but it doesn't work :/<div class="codebox"><p>Code: </p><pre><code>####### kban proc #######proc kban {nickname hostname handle channel arguments} {    global botnick    if {[lindex [split $arguments] 0] == $botnick} { return 0 }    kickban $botnick kickban [lindex [split $arguments] 0] [lrange [split $arguments] 1 end]}####### pban proc #######proc pban {nickname hostname handle channel arguments} {    global botnick    if {[lindex [split $arguments] 0] == $botnick} { return 0 }    +ban [lindex [split $arguments] 0] [lrange [split $arguments] 1 end]}</code></pre></div>What shall i do?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8039">tucow</a> — Mon Jul 31, 2006 12:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
