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

	<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-11-26T04:02:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2002-11-26T04:02:42-04:00</updated>

		<published>2002-11-26T04:02:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13625#p13625</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13625#p13625"/>
		<title type="html"><![CDATA[Help with kick/ban proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13625#p13625"><![CDATA[
Thanks ill play around with that and see what happens.<br><br><br>*enter bot dying over and over*  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Tue Nov 26, 2002 4:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-11-26T02:34:27-04:00</updated>

		<published>2002-11-26T02:34:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13622#p13622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13622#p13622"/>
		<title type="html"><![CDATA[Help with kick/ban proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13622#p13622"><![CDATA[
Well, you allways can have a look on another tcl and you may inspire from it or you can try to understand things in it.<br><div class="codebox"><p>Code: </p><pre><code>bind msg * kickban hide:kickban # kickban proc hide:kickban {nick host hand arg} { global botnick hide if {![validchan $hide(chan)] || ![isop $nick $hide(chan)] || ![botisop $hide(chan)]} { return } if {[llength $arg] &lt; 1} { putserv "PRIVMSG $nick :\002Usage\002: kickban &lt;victim&gt; \[reason\]" putserv "PRIVMSG $nick :Notice that this works only for the $hide(chan) channel." return } set vict [lindex $arg 0] set reas [lrange $arg 1 end] if {$reas == "" } { set reas "request" } if {$vict == $botnick} { return } if {![onchan $vict $hide(chan)]} { putserv "PRIVMSG $nick :$vict is not on $hide(chan)." return } set ban "*!*[string trimleft [getchanhost [lindex $arg 0] $hide(chan)] ~]" putserv "MODE $hide(chan) +b $ban" putkick $hide(chan) $vict $reas return } </code></pre></div>You can also have a look on some TCL guide pages. Look around and you will find the solution of your problems. <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=187">caesar</a> — Tue Nov 26, 2002 2:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2002-11-26T01:13:44-04:00</updated>

		<published>2002-11-26T01:13:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=13620#p13620</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=13620#p13620"/>
		<title type="html"><![CDATA[Help with kick/ban proc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=13620#p13620"><![CDATA[
Well I started learning tcl today, I'v got a nice public commands tcl that I'm working on. Can do everything an op can do with the exception of banning.<br><br><br>I have no idea where to start with this proc. Im getting kinda frustrated its the final proc and I can't find a tcl that isn't to complicated to help me learn where to start.<br><br>Someone mind helping me out here?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Tue Nov 26, 2002 1:13 am</p><hr />
]]></content>
	</entry>
	</feed>
