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

	<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>2013-11-17T02:56:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sane]]></name></author>
		<updated>2013-11-17T02:56:35-04:00</updated>

		<published>2013-11-17T02:56:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102219#p102219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102219#p102219"/>
		<title type="html"><![CDATA[Re: Clearing All Bans After 3 Hours!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102219#p102219"><![CDATA[
<blockquote class="uncited"><div>Hello I Need Tcl Which Remove All Channel Bans After 3 Hours!l<br>But It First It Announce In Channel Like:<br>* @Bot Clearing 3 Hours Old Bans<br>and then remove all bans<br>Waiting For Script Thanks :)</div></blockquote>The script I'm about to post is an edit of the: # RemoveBans.tcl by Nils Ostbjerg &lt;<a href="mailto:shorty@business.auc.dk">shorty@business.auc.dk</a>&gt;<br># (C) Copyright (2001)<br><div class="codebox"><p>Code: </p><pre><code># RemoveBans.tcl by Nils Ostbjerg &lt;shorty@business.auc.dk&gt;# (C) Copyright (2001)## This script makes the bot remove all bans set on a channel that has the flag +removebans once every 15 minutes; which you can change, 15 minutes is just the default. Edit the bind time below.##  This version of the RemoveBans script is tested on Eggdrop version#  1.6.x##  Please report any bugs to me at shorty@business.auc.dk.#  Idea and suggestion to new features are also welcome.### This is an edited version by Sane from irc.rizon.net #kl-channel with the help of arfer from irc.dal.net #tcl &amp; #eggdrop.# The changes are as follows: edited the script so it isn't on globally anymore, now you can set what channels you want the script to be enabled on by typing .chanset #ChannelName +removebans (or just .chanset +removebans if it's your main channel) into the partyline, the script will only remove a channels bans after X minutes if that channel has the flag +removebans, if a channel has the flag -removebans; the bans will NOT be removed after X minutes. To check what flags a channel has type: .chaninfo #ChannelName (or just .chaninfo if it's your main channel) into the partyline. ( There were other edits but I've forgotten what they were... :/ )## I have left all original credits.# # RemoveBans.tcl by Nils Ostbjerg | edit by Sane with help from arfer.# (C) Copyright (2012)#####                                 - Nils Ostbjerg &lt;shorty@business.auc.dk&gt;##  Version 1.6.0 - 01 Nov 2001  First version, should work ok. #                                  - Nils Ostbjerg &lt;shorty@business.auc.dk&gt;bind time - "180 * * * *" time:removebans########################################################################### time:RemoveBans start                                                  ###########################################################################proc time:removebans { minute hour day month year } {  foreach chan [channels] {    if {[channel get $chan removebans]} {putserv "PRIVMSG $chan :Clearing 3 Hour Old Bans "       resetbans $chan     }  }  return 0}setudef flag removebans########################################################################### time:RemoveBans end                                                    ###################################################################################################################################################### putlog                                                                 ###########################################################################putlog "Loaded RemoveBans (DLF)"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12294">Sane</a> — Sun Nov 17, 2013 2:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hero]]></name></author>
		<updated>2013-07-07T10:23:36-04:00</updated>

		<published>2013-07-07T10:23:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101797#p101797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101797#p101797"/>
		<title type="html"><![CDATA[Clearing All Bans After 3 Hours!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101797#p101797"><![CDATA[
Hello I Need Tcl Which Remove All Channel Bans After 3 Hours!l<br>But It First It Announce In Channel Like:<br>* @Bot Clearing 3 Hours Old Bans<br>and then remove all bans<br>Waiting For Script Thanks <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=12019">Hero</a> — Sun Jul 07, 2013 10:23 am</p><hr />
]]></content>
	</entry>
	</feed>
