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

	<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>2010-08-23T17:23:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-08-23T17:23:32-04:00</updated>

		<published>2010-08-23T17:23:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94074#p94074</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94074#p94074"/>
		<title type="html"><![CDATA[Adding a Ban Text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94074#p94074"><![CDATA[
Hello doggo. Thanks, working<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Mon Aug 23, 2010 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-08-22T19:22:15-04:00</updated>

		<published>2010-08-22T19:22:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94063#p94063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94063#p94063"/>
		<title type="html"><![CDATA[Adding a Ban Text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94063#p94063"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>  if {![string equal [info procs newchanban:ban] ""]} { newchanban:ban $c $m $e $r $l]   } else { newchanban $c $m $e $r $l } } </code></pre></div>try changing to <br><div class="codebox"><p>Code: </p><pre><code>  if {![string equal [info procs newchanban:ban] ""]} { newchanban:ban $c $m $e $r $l] puthelp "privmsg $n : YOUR MSG HERE"  } else { newchanban $c $m $e $r $l } } </code></pre></div>should send the nick that was banned a privmsg, just change YOUR MSG HERE to your own <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=11046">doggo</a> — Sun Aug 22, 2010 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-08-20T14:16:53-04:00</updated>

		<published>2010-08-20T14:16:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94034#p94034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94034#p94034"/>
		<title type="html"><![CDATA[Adding a Ban Text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94034#p94034"><![CDATA[
Hello. I wanted to ask if u could help me, adding a Text for the User (Ban -message)  and a Channel Output , if somebody gets banned by flyby (e.g.: banned by flyby Channel). atm its just the ban and the user and the chan does not know why he/she gets banned. Thanks a lot<br><div class="codebox"><p>Code: </p><pre><code>##################################################### by wiebe @ QuakeNet#####################################################setudef flag flybysetudef int flyby-triggersetudef int flyby-bantime##################################################### flyby:part####################################################bind part -|- * flyby:partproc flyby:part { n u h c {m ""}} {  if {![validchan $c]} { return 0 }  if {[isbotnick $n]} { return 0 }  if {![botisop $c]} { return 0 }  if {![channel get $c flyby]} { return 0 }  if {[matchattr $h bfvlomn|fvlomn $c]} { return 0 }  if {[isop $n $c]} { return 0 }  if {[ishalfop $n $c]} { return 0 }  if {[isvoice $n $c]} { return 0 }  if {[matchban $n!$u $c]} { return 0 }  set t [channel get $c flyby-trigger]  if {$t &lt; 0} { set t 10; channel set $c flyby-trigger $t }  set d [expr [clock seconds] - [getchanjoin $n $c]]  if {$d &gt; $t} { return 0 }  set l [channel get $c flyby-bantime]; set e "flyby.tcl"  if {$l &lt; 5} { set l 10; channel set $c flyby-bantime 10 }  set m "*!$u"; set r "You joined and left within a very short time."  if {[string match "~*@*" $u] || [string match "*.users.quakenet.org" $u]} {    set m "*!*@[lindex [split $u @] 1]"  }  if {![string equal [info procs newchanban:ban] ""]} { newchanban:ban $c $m $e $r $l]  } else { newchanban $c $m $e $r $l }}set scriptdb(flyby) {  "ban users who part shortly after joining, +flyby (enable), flyby-trigger (ban if user parts within X seconds), flyby-bantime (ban for X minutes)"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Fri Aug 20, 2010 2:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
