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

	<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>2008-05-20T17:46:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2008-05-20T17:46:14-04:00</updated>

		<published>2008-05-20T17:46:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83047#p83047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83047#p83047"/>
		<title type="html"><![CDATA[hi.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83047#p83047"><![CDATA[
Hi everybody.<br><br>can fix this code for the last version of eggdrop 1.6.18?<br><div class="codebox"><p>Code: </p><pre><code>unbind dcc o|o kickban *dcc:kickban;bind dcc o|o kb kban:kickban proc kban:kickban {handle idx arg} { if {$arg == ""} {  *dcc:kickban $handle $idx $arg  return 0 } set date [strftime %d/%m/%y]set nick [lindex $arg 0] set defr "\002Banned Without Reason"set host [getchanhost $nick] if {[string first # [set c [lindex [split $arg] 1]]] == 0} {  if {[string first % [set t [lindex [split $arg] 2]]] == 0} {   if {[set r [join [lrange [split $arg] 3 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $c $t $handle:\002 $r"  } } {  if {[string first % [set t [lindex [split $arg] 1]]] == 0} {   if {[set r [join [lrange [split $arg] 2 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $t $handle:\002 $r"  } {   if {[set r [join [lrange [split $arg] 1 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $handle:\002 $r"  } }}</code></pre></div>something wrong with this code, 'cause i put in partyline and:<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .kb testnick&lt;)Chasse&gt; Invalid console channel.&lt;Nor7on&gt; .kb #mychan testnick&lt;)Chasse&gt; Invalid console channel.</code></pre></div>when i put:<br><br>&lt;Nor7on&gt; .kb testnick #madrid<br><br>don't get error, but no found.<br><br>i want, when i put .kb nick, my eggdrop put ban(*!*@host.domain; perm) and kick in my channel.<br><br>can helpme?<br><br>thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Tue May 20, 2008 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-15T00:09:48-04:00</updated>

		<published>2005-12-15T00:09:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58280#p58280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58280#p58280"/>
		<title type="html"><![CDATA[Default ban mask @ command .kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58280#p58280"><![CDATA[
do not pass through default *dcc:kickban and use:<div class="codebox"><p>Code: </p><pre><code>scan [getchanhost $nick] {%*[^@]@%s} host</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Dec 15, 2005 12:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ni0]]></name></author>
		<updated>2005-12-14T22:04:11-04:00</updated>

		<published>2005-12-14T22:04:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58272#p58272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58272#p58272"/>
		<title type="html"><![CDATA[Default ban mask @ command .kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58272#p58272"><![CDATA[
yeap but i said i want this without the @ at command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7096">Ni0</a> — Wed Dec 14, 2005 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-12-14T21:54:00-04:00</updated>

		<published>2005-12-14T21:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58271#p58271</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58271#p58271"/>
		<title type="html"><![CDATA[Default ban mask @ command .kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58271#p58271"><![CDATA[
<blockquote class="uncited"><div>.help kickban<br>### kickban [channel] [-|@]&lt;nickname&gt; [comment]<br>Kicks and bans a user from the specified channel with the with the<br>comment/reason given. Your handle will be attached to the ban in the<br>bot's internal ban list, and the ban will last for whatever time is set<br>for the channel's ban-time. The ban will be a channel-specific ban. Use<br>'.+ban' for a more permanent ban, which can be activated on every<br>channel the bot monitors. Appending a prefix of - or @ to a nickname<br>changes the banmask used:<br> <br> <br>For example, with a hostmask of nick!<a href="mailto:ident@host.name.domain">ident@host.name.domain</a>:<br> <br>Command Banmask<br>.kickban nick *!*dent@*.name.domain<br>.kickban -nick *!*<a href="mailto:dent@host.name.domain">dent@host.name.domain</a><br>.kickban @nick *!*@host.name.domain<br> <br>Or with a host of nick!~<a href="mailto:ident@host.name.domain">ident@host.name.domain</a> (strict-host set to 1):<br> <br>Command Banmask<br>.kickban nick *!*ident@*.name.domain<br>.kickban -nick *!*<a href="mailto:ident@host.name.domain">ident@host.name.domain</a><br> <br>See also: chanset, chaninfo, -ban, +ban, bans, stick</div></blockquote>That means if you use @ before the nickname, it'll ban *!*@host.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Dec 14, 2005 9:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ni0]]></name></author>
		<updated>2005-12-14T20:50:17-04:00</updated>

		<published>2005-12-14T20:50:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58270#p58270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58270#p58270"/>
		<title type="html"><![CDATA[Default ban mask @ command .kickban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58270#p58270"><![CDATA[
i  have this code (adds handle at command .kickban (or .kb))<br>but i want the default banmask be *!*@fullhost and not *!*identd@*host.  t. Without @nick at command<br> <div class="codebox"><p>Code: </p><pre><code>unbind dcc o|o kickban *dcc:kickban;bind dcc o|o kb kban:kickban proc kban:kickban {handle idx arg} { if {$arg == ""} {  *dcc:kickban $handle $idx $arg  return 0 } set date [strftime %d/%m/%y] set defr "\002Banned Without Reason" set host [lindex [split $arg] 0] if {[string first # [set c [lindex [split $arg] 1]]] == 0} {  if {[string first % [set t [lindex [split $arg] 2]]] == 0} {   if {[set r [join [lrange [split $arg] 3 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $c $t $handle:\002 $r"  } } {  if {[string first % [set t [lindex [split $arg] 1]]] == 0} {   if {[set r [join [lrange [split $arg] 2 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $t $handle:\002 $r"  } {   if {[set r [join [lrange [split $arg] 1 end]]] == ""} {    set r $defr   }   *dcc:kickban $handle $idx "$host $handle:\002 $r"  } }}</code></pre></div>Any Help?  <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=7096">Ni0</a> — Wed Dec 14, 2005 8:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
