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

	<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-06-30T08:34:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ni0]]></name></author>
		<updated>2006-06-30T08:34:45-04:00</updated>

		<published>2006-06-30T08:34:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64451#p64451</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64451#p64451"/>
		<title type="html"><![CDATA[/msg $botnick ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64451#p64451"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>unbind msg o|o +ban *msg:+ban;bind msg o|o +ban msg:+ban;proc msg:+ban {handle idx arg} { if {$arg == ""} {  *msg:+ban $handle $idx $arg  return 0 } set date [strftime %d/%m/%y] set defr "Banned 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   }   *msg:+ban $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   }   *msg:+ban $handle $idx "$host $t $handle:\002 $r"  } {   if {[set r [join [lrange [split $arg] 1 end]]] == ""} {    set r $defr   }   *msg:+ban $handle $idx "$host $handle:\002 $r"  } }}</code></pre></div><br>Can anyone give me a little help to make it work on private message.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7096">Ni0</a> — Fri Jun 30, 2006 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-27T03:43:09-04:00</updated>

		<published>2006-06-27T03:43:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64345#p64345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64345#p64345"/>
		<title type="html"><![CDATA[/msg $botnick ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64345#p64345"><![CDATA[
just use any script that uses public commands, rebind to msg, cut off the channel and submit it as an argument to the public trigger <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=2382">De Kus</a> — Tue Jun 27, 2006 3:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[phab]]></name></author>
		<updated>2006-06-26T18:14:46-04:00</updated>

		<published>2006-06-26T18:14:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64335#p64335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64335#p64335"/>
		<title type="html"><![CDATA[/msg $botnick ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64335#p64335"><![CDATA[
Where should the bot know from, which channel the user should get banned? Or do you want a global ban on eggdrop?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6630">phab</a> — Mon Jun 26, 2006 6:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ni0]]></name></author>
		<updated>2006-06-26T19:46:48-04:00</updated>

		<published>2006-06-26T17:39:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64332#p64332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64332#p64332"/>
		<title type="html"><![CDATA[/msg $botnick ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64332#p64332"><![CDATA[
Hello can anyone help me,and tell me how it's possible to do<br><br>/msg $botnick +ban #channel *@host.domain reason here<br><br>and the same with -ban command.<br><br><br>Edited Thanks .<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7096">Ni0</a> — Mon Jun 26, 2006 5:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
