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

	<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-08-03T02:11:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-08-03T02:11:48-04:00</updated>

		<published>2006-08-03T02:11:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65111#p65111</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65111#p65111"/>
		<title type="html"><![CDATA[Prob with proc in a bind kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65111#p65111"><![CDATA[
First, apply indenting to make this script readable.<br>Secondly, give us the errors you encounter, you cannot expect us to to help you without knowing what exactly you did wrong.<br>Also, use elseif instead of a million if's.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Aug 03, 2006 2:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nara]]></name></author>
		<updated>2006-07-31T10:38:59-04:00</updated>

		<published>2006-07-31T10:38:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65035#p65035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65035#p65035"/>
		<title type="html"><![CDATA[Prob with proc in a bind kick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65035#p65035"><![CDATA[
Alright, I'm aware this code is very messy. Sorry. This script just won't work, I'm probably using the wrong things, please help me out. This is meant to ban anyone without a flag P using bans. Also, it has a clause for ChanServ bans  They are issued with a reason like this: "(Nara) You're an idiot."<br><div class="codebox"><p>Code: </p><pre><code>bind kick - * kickuserproc kickuser {nick host hand chan target reason} {if {![string equal $nick "ChanServ"]} {if {![matchattr $hand P] &amp;&amp; ![string equal [finduser [lindex [split $host @] 1]] "*"]} {newchanban "$chan" "*!*@[lindex [split $host @] 1]" "KickUser" "Kicking users on #chan is not permitted. Perm ban, PM Nara for removal" "0"putserv "PRIVMSG Chanserv :#chan deluser $nick"}if {[string equal [finduser [lindex [split $host @] 1]] "*"]} {newchanban "$chan" "*!*@[lindex [split $host @] 1]" "KickUser" "Kicking users on #chan is not permitted. Perm ban, PM Nara for removal" "0"putserv "PRIVMSG Chanserv :#chan deluser $nick"}}if {[string equal $nick "ChanServ"]} {regexp {/((.*?/)} $reason match $reason2}if {[$reason2 onchan "#2g"]} {if {![string equal [finduser [lindex [split $host @] 1]] "*"]} {if {![matchattr [finduser [lindex [split $host @] 1]] P]} {newchanban "$chan" "*!*@[lindex [split $host @] 1]" "KickUser" "Kicking users on #chan is not permitted. Perm ban, PM Nara for removal" "0"putserv "PRIVMSG Chanserv :#chan deluser $nick"}}}if {![$reason2 onchan "#chan"]} {newchanban "$chan" "*!*@$reason2.*.gamesurge" "KickUser" "Kicking users on #2g is not permitted. Perm ban, PM Nara for removal" "0"putserv "PRIVMSG Chanserv :#2g deluser "/*$reason2"}}</code></pre></div>Also, can you please tell me if this is done right:<div class="codebox"><p>Code: </p><pre><code>bind notc - * noticekickproc noticekick {nick uhost handle text dest} {if {[validchan $dest]} {set dest [string tolower $dest]if {[string equal $dest "#chan"] &amp;&amp; ![matchattr $handle P]} {newchanban "$dest" "*!*@[lindex [split $uhost @] 1]" "NoticeBan" "Noticing $dest is not permitted." "0"putserv "PRIVMSG Chanserv :#chan deluser $nick"}}}</code></pre></div>Thank you,<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 10:38 am</p><hr />
]]></content>
	</entry>
	</feed>
