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

	<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>2003-06-15T09:21:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-15T09:21:33-04:00</updated>

		<published>2003-06-15T09:21:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21868#p21868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21868#p21868"/>
		<title type="html"><![CDATA[Always enforcing bans placed by bot ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21868#p21868"><![CDATA[
How about setting the ban using putserv/pushmode and rely on ban-time for ban removal.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Jun 15, 2003 9:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-06-15T01:41:03-04:00</updated>

		<published>2003-06-15T01:41:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21847#p21847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21847#p21847"/>
		<title type="html"><![CDATA[Always enforcing bans placed by bot ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21847#p21847"><![CDATA[
or you can try <a href="http://www.rebawho.com/ftp/scripts1.3.5/shutup.tcl.gz" class="postlink">this script</a> that voices everyone in the channel and moderates it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Sun Jun 15, 2003 1:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Aparition]]></name></author>
		<updated>2003-06-15T01:35:00-04:00</updated>

		<published>2003-06-15T01:35:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21845#p21845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21845#p21845"/>
		<title type="html"><![CDATA[Always enforcing bans placed by bot ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21845#p21845"><![CDATA[
try setting -enforcebans<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3023">Aparition</a> — Sun Jun 15, 2003 1:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-03-16T18:21:53-04:00</updated>

		<published>2003-03-16T18:21:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17923#p17923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17923#p17923"/>
		<title type="html"><![CDATA[Always enforcing bans placed by bot ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17923#p17923"><![CDATA[
Hi<br><br>I'm trying to script my eggdrop to be able to mute someone on a chan. Instead of voicing everyone else and moderating the chan, I prefer to ban the person (WITHOUT kicking him).<br>I use the newchanban procedure in the script, and here is my problem :<br>- with +dynamicbans, the user is kicked (even with -enforceban) which makes sense after all (something to do with the user joining the chan because the ban is not on the chan ? correct me if I'm wrong)<br>- with -dynamicbans, the user is not kicked (-enforceban) which is great, BUT here is how it looks from the bot's point of view :<br><br>&lt;bot&gt; [22:57] #librarian# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #chan)<br>&lt;bot&gt; Channel bans for #chan:   (! = not active, * = not placed by bot)<br>&lt;bot&gt; ! [  1] *nick!*@host (expires at 22:58)<br>&lt;bot&gt;         author: reason<br>&lt;bot&gt;         Created 22:57<br>&lt;bot&gt; * [  2] *!*user@host (botnick!botname@bothost) (active 00:20)<br><br>The channel's banlist :<br>--- #chan Banlist: Sun Mar 16 22:57:04 *!*user@host botnick!botname@bothost<br><br>That is, when I use the newchanban command (I use getchanhost on a nick to get his host) the bot places the ban on the chan and has TWO entries in its own ban list.<br>(note the difference between the two ban masks is the bot's ban list)<br>My problem is that after the expiration time, the bot announces :<br><br>[22:59] No longer banning *nick!*@host on #chan (expired)<br>But leaves the ban on the chan. Here is its ban list :<br><br>&lt;bot&gt; [23:01] #librarian# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #chan)<br>&lt;bot&gt; Channel bans for #chan:   (! = not active, * = not placed by bot)<br>&lt;bot&gt; * [  1] *!*user@host (botnick!botname@bothost) (active 04:15)<br><br>I looked around and found that the duplicate entry was because 'newchanban #chan user@host author reason' goes as user!*@host in the bot's banlist BUT the bot places +b *!*user@host on the chan... (bug I think) So I tried with newchanban #chan *!user@host... which was ok (same and unique entry in both banlists) EXCEPT that the bot kicked the user (with -enforcebans)...<br>Please tell me I'm doing this wrong and I DON'T have to place the ban 'manually' and check every minute if it has expired (as the duration of the 'punishment' is an argument to the mute function)...<p>Statistics: Posted by Guest — Sun Mar 16, 2003 6:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
