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

	<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>2005-07-21T18:25:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-21T18:25:11-04:00</updated>

		<published>2005-07-21T18:25:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52983#p52983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52983#p52983"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52983#p52983"><![CDATA[
your channel might be full of bans; when that happens, it's impossible to set a new ban on the channel without removing an older one first<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jul 21, 2005 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[malaki86]]></name></author>
		<updated>2005-07-21T18:02:10-04:00</updated>

		<published>2005-07-21T18:02:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52981#p52981</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52981#p52981"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52981#p52981"><![CDATA[
Ok - found something out.<br><br>It's something in the settings for the chan i was testing in.<br>I moved the script to monitor another channel, and it works perfect with just setting the newchanban.<br><br>Thanks for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6438">malaki86</a> — Thu Jul 21, 2005 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[malaki86]]></name></author>
		<updated>2005-07-21T16:53:18-04:00</updated>

		<published>2005-07-21T16:53:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52980#p52980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52980#p52980"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52980#p52980"><![CDATA[
I'm not getting any errors at all.<br><br>The ban sets, but stays inactive.<br><br>If i do the mode change (within the bot, and set the ban), then it's active.<br><br>If an op removes the ban, it stays in the bot, but inactive.<br><br>After the op removes the ban, the user can re-enter, and doesn't get rebanned (even though the ban is still in the bot).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6438">malaki86</a> — Thu Jul 21, 2005 4:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-07-21T11:13:25-04:00</updated>

		<published>2005-07-21T11:13:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52962#p52962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52962#p52962"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52962#p52962"><![CDATA[
If i use this my ban always gets active on channel<br><div class="codebox"><p>Code: </p><pre><code>putserv "KICK $chan $nick set ban *!*[string tolower [string range $uhost [string first @ $uhost] end]]newchanban $chan $ban $comment $reason $bantime</code></pre></div>Well, isnt he givin any errors wehn setting ban or when the specific user joins the channel ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Thu Jul 21, 2005 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[malaki86]]></name></author>
		<updated>2005-07-21T07:54:33-04:00</updated>

		<published>2005-07-21T07:54:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52960#p52960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52960#p52960"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52960#p52960"><![CDATA[
<blockquote class="uncited"><div>what do you care whether the ban is set immediately on the channel or set upon banned user entering the channel? in both cases it will be enforced immediately - in the first case by using [putkick] in the script, in the second case automatically by eggdrop's default behaviour <br><br>if you don't want bans to be lifted on the channel, use -dynamicbans chan setting</div></blockquote>Ok - unless i manually set the +b mode with the script, the ban isn't enforced, even though it's there.<br><br>If another op removes the ban from the banlist (not from the bot), the user can return and doesn't get re-banned, even though the ban is still in the bot.<br><br>On a second note: out of all the scripts i looked at that use the newchanban cmd, none of them have a kick, or manual mode change along with them.  But they work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6438">malaki86</a> — Thu Jul 21, 2005 7:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-20T23:00:32-04:00</updated>

		<published>2005-07-20T23:00:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52955#p52955</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52955#p52955"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52955#p52955"><![CDATA[
what do you care whether the ban is set immediately on the channel or set upon banned user entering the channel? in both cases it will be enforced immediately - in the first case by using [putkick] in the script, in the second case automatically by eggdrop's default behaviour<br><br>if you don't want bans to be lifted on the channel, use -dynamicbans chan setting<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jul 20, 2005 11:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[malaki86]]></name></author>
		<updated>2005-07-20T22:53:23-04:00</updated>

		<published>2005-07-20T22:53:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52954#p52954</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52954#p52954"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52954#p52954"><![CDATA[
<blockquote class="uncited"><div>use [putkick] immediately after [newchanban] to enforce the ban</div></blockquote>Tried that - doesn't set the ban.<br><br>I have to do it like this:<br>  newchanban "$chan" "$sub_mask" "$nick" "$reason" "$::sub_ban_temp"<br>  putserv "MODE $chan +b $sub_mask"<br>  putkick $chan $target $reason<br><br>Then it works - unless someone removes the ban manually.<br><br>If they do, the user can then rejoin without getting re-banned automatically.  When this happens, the ban is still in the bot, but flagged as "inactive".<br><br>It does, however, automatically remove the ban when it expires.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6438">malaki86</a> — Wed Jul 20, 2005 10:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-20T22:07:09-04:00</updated>

		<published>2005-07-20T22:07:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52952#p52952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52952#p52952"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52952#p52952"><![CDATA[
use [putkick] immediately after [newchanban] to enforce the ban<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jul 20, 2005 10:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[malaki86]]></name></author>
		<updated>2005-07-20T21:49:48-04:00</updated>

		<published>2005-07-20T21:49:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52951#p52951</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52951#p52951"/>
		<title type="html"><![CDATA[Need help with newchanban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52951#p52951"><![CDATA[
Ok - i'm gonna rip the hair off my legs in a sec, mainly cuz i've already pulled it off my head...<br><br>I can't get the newchanban command to do ANYTHING at all.  I've read the manual, looked at 100's of scripts, and don't see what the problem is.<br><br>here's the line I'm using:<br>  newchanban "$chan" "$sub_mask" "$nick" "$reason" "$::sub_ban_temp"<br><br>  $chan = the channel<br>  $sub_mask = the users mask<br>  $nick = the users nick that requested the ban<br>  $reason = the $nick's reason for the ban<br>  $::sub_ban_temp = the amount of time for the ban<br><br>I did a putlog of the exact line, and this is the response I get:<br>   newchanban #malaki86 *!malaki86@*.res.rr.com MaL Requested 15<br><br>However, the newchanban is doing absolutely nothing.<br><br>edit:<br>I just noticed this:<br>if i set the newchanban<br>then, kick the user and set the +b for that mask<br>it DOES unset after the set time.<br><br>Should it be like this? (newchanban, then kick, then ban)?<br><br>Did i miss something in my conf?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6438">malaki86</a> — Wed Jul 20, 2005 9:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
