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

	<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-08-09T13:24:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-08-09T13:24:05-04:00</updated>

		<published>2008-08-09T13:24:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84522#p84522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84522#p84522"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84522#p84522"><![CDATA[
Thank you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7035">outthere</a> — Sat Aug 09, 2008 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-08-09T11:29:11-04:00</updated>

		<published>2008-08-09T11:29:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84516#p84516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84516#p84516"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84516#p84516"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n|n !del del:nickproc del:nick {nick uhost hand chan arg} { set n [lindex [split $arg] 0] if {[validuser allowed] &amp;&amp; [delhost allowed $n!*@*]} {  puthelp "privmsg $chan :Removed $n from allowed list."  puthelp "notice $n :You've been removed from the allowed list on $chan." } {  puthelp "privmsg $chan :$n is not on the allowed list."  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Aug 09, 2008 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-08-08T01:04:06-04:00</updated>

		<published>2008-08-08T01:04:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84485#p84485</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84485#p84485"/>
		<title type="html"><![CDATA[!delete user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84485#p84485"><![CDATA[
Ok how would I be able to !delete the user? I have tried adding a new process but it is not working correctly. I tried to use the !add as a guide.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7035">outthere</a> — Fri Aug 08, 2008 1:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-04-19T21:18:20-04:00</updated>

		<published>2008-04-19T21:18:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82428#p82428</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82428#p82428"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82428#p82428"><![CDATA[
That easy huh? I am picking up on this a little bit. I did some modification to the script and it worked! lol.. <br><br>thanks again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7035">outthere</a> — Sat Apr 19, 2008 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-04-19T21:04:43-04:00</updated>

		<published>2008-04-19T21:04:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82426#p82426</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82426#p82426"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82426#p82426"><![CDATA[
Add a timer to remove the ban after x minutes. For example:<div class="codebox"><p>Code: </p><pre><code>timer 10 [list pushmode $chan -b *!*@[lindex [split $uhost @] 1]]</code></pre></div>This will remove the ban after 10 minutes from setting it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 19, 2008 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-04-19T20:47:48-04:00</updated>

		<published>2008-04-19T20:47:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82425#p82425</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82425#p82425"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82425#p82425"><![CDATA[
How would you edit the script to make it a timed ban?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7035">outthere</a> — Sat Apr 19, 2008 8:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-04-04T11:39:55-04:00</updated>

		<published>2008-04-04T11:39:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82157#p82157</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82157#p82157"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82157#p82157"><![CDATA[
Awesome! Thanks for the fast reply!<br><br> <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=7035">outthere</a> — Fri Apr 04, 2008 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-04-04T07:10:26-04:00</updated>

		<published>2008-04-04T07:10:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82155#p82155</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82155#p82155"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82155#p82155"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub n|n !add add:nickbind join - "#channel *" kick:etproc add:nick {nick uhost hand chan arg} { if {![validuser allowed]} {  adduser allowed  chattr allowed +A } set n [string tolower [lindex [split $arg] 0]]!*@* if {[lsearch -exact [getuser allowed HOSTS] $n] == -1} {  setuser allowed HOSTS $n  puthelp "privmsg $chan :Added $n to allowed list."  puthelp "notice [lindex [split $arg] 0] :You've been added to the allowed list on $chan" }}proc kick:et {nick uhost hand chan} { if {![matchattr $hand A|A $chan]} {  putserv "kick $chan $nick :ETs not allowed."  pushmode $chan +b *!*@[lindex [split $uhost @] 1] } {  pushmode $chan +v $nick }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Apr 04, 2008 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outthere]]></name></author>
		<updated>2008-04-03T20:04:04-04:00</updated>

		<published>2008-04-03T20:04:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82150#p82150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82150#p82150"/>
		<title type="html"><![CDATA[this is what i have been looking for!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82150#p82150"><![CDATA[
I have been searching for this exact script and finally found it. Could you please add 2 features? <br><br>1. kick and ban <br>2. voice the user if nick is allowed<br><br>Thanks in advance<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>now that i think of it.. maybe 1 one thing? put a notice to the user that lets them know they are added to the list?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7035">outthere</a> — Thu Apr 03, 2008 8:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-03-25T20:21:57-04:00</updated>

		<published>2007-03-25T20:21:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71609#p71609</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71609#p71609"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71609#p71609"><![CDATA[
Why not create a handle, give it a specific flag, and then add the nicks to this handle. This way, instead of checking if the nick is in a text file, you just check if the user has that specific flag.<div class="codebox"><p>Code: </p><pre><code>bind pub n|n !add add:nickbind join - "#channel *" kick:etproc add:nick {nick uhost hand chan arg} { if {![validuser allowed]} {  adduser allowed  chattr allowed +A } set n [string tolower [lindex [split $arg] 0]]!*@* if {[lsearch -exact [getuser allowed HOSTS] $n] == -1} {  setuser allowed HOSTS $n  puthelp "privmsg $chan :Added $n to allowed list." }}proc kick:et {nick uhost hand chan} { if {![matchattr $hand A|A $chan]} {  putserv "kick $chan $nick :ETs not allowed." }}</code></pre></div>This way, only +A users will be allowed on #channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Mar 25, 2007 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadman]]></name></author>
		<updated>2007-03-24T20:33:37-04:00</updated>

		<published>2007-03-24T20:33:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71580#p71580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71580#p71580"/>
		<title type="html"><![CDATA[kick user not in list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71580#p71580"><![CDATA[
hi guys <br>is there away to kick a user that is not in a text file <br>i.e use the command !add &lt;nick&gt;<br><br>bot adds nick to db.txt<br><br>user joins channel bot ignores user<br><br>user not added to db.txt ..... bot will kick from channel and keep kicking till the third join and then set channel ban <br><br>thanks guys<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7742">deadman</a> — Sat Mar 24, 2007 8:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
