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

	<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>2007-02-28T20:37:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2007-02-12T10:14:12-04:00</updated>

		<published>2007-02-12T10:14:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70405#p70405</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70405#p70405"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70405#p70405"><![CDATA[
bumping. =)<br><br>I cant get this script to work at all.<br>I have set the chan on +kickmont, but it aint kicking for some odd reason.<br><br>*edit*<br><br>It did work this month.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>No idea why it didnt work last month. <br>So cased closed and thanks for the script if i havent said that.  <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=8272">bast</a> — Mon Feb 12, 2007 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2007-01-01T06:48:41-04:00</updated>

		<published>2007-01-01T06:48:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69389#p69389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69389#p69389"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69389#p69389"><![CDATA[
Can anyone else test this and confirm that it´s working, Caus it aint kicking on my chan for some reason.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Mon Jan 01, 2007 6:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-27T07:24:42-04:00</updated>

		<published>2006-12-27T07:24:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69277#p69277</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69277#p69277"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69277#p69277"><![CDATA[
<blockquote class="uncited"><div>To state the very obvious, it's not the end of the month!</div></blockquote>I did offcource set my system clock to the last of this month and moved the clock to 23:59:00 before i started the eggdrop.<br>And i can see in the partyline that the date is changing to 1st of Januari.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Wed Dec 27, 2006 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-12-27T07:21:35-04:00</updated>

		<published>2006-12-27T07:21:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69276#p69276</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69276#p69276"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69276#p69276"><![CDATA[
<blockquote class="uncited"><div>Hmm it still dosen´t kick. and +monthkick didn´t work, i had to set +kickmonth  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>To state the very obvious, it's not the end of the month!<br><br>The script should trigger at the end of the month as requested (now +kickmonth is set). <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=3646">Alchera</a> — Wed Dec 27, 2006 7:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-27T06:11:38-04:00</updated>

		<published>2006-12-27T06:11:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69274#p69274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69274#p69274"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69274#p69274"><![CDATA[
Hmm it still dosen´t kick. and +monthkick didn´t work, i had to set +kickmonth  <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=8272">bast</a> — Wed Dec 27, 2006 6:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-26T19:06:28-04:00</updated>

		<published>2006-12-26T19:06:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69265#p69265</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69265#p69265"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69265#p69265"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time "00 00 01*" kickall</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>bind time - "00 00 01*" kickall</code></pre></div>Edited the code again.<br><br>Yes, the Eggdrop will use the computer's clock. If you change your computer's time, you need to restart your eggdrop (I think) to avoid any conflicts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 26, 2006 7:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-26T15:25:22-04:00</updated>

		<published>2006-12-26T15:25:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69260#p69260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69260#p69260"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69260#p69260"><![CDATA[
that did the trick. Now one more question.<br>I guess the script goes after the computer clock?<br>If so, then it aint kicking.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Tue Dec 26, 2006 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-26T12:03:15-04:00</updated>

		<published>2006-12-26T12:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69259#p69259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69259#p69259"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69259#p69259"><![CDATA[
}{ should have a space between them. I edited the code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 26, 2006 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-26T06:58:33-04:00</updated>

		<published>2006-12-26T06:58:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69254#p69254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69254#p69254"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69254#p69254"><![CDATA[
to get that to work the bot needs to start first.<br>i get that info in the dos window, and the bot don´t even start, så kinda hard to get that info.<br>And i have unloaded all other script. and im just running that one.<br><div class="codebox"><p>Code: </p><pre><code>[11:54] Tcl error in file 'eggdrop.conf':[11:54] extra characters after close-brace    while executing"if {[file exists $enfile]} { set exnicks [split [read [set enfileo [open $enfile]]] \n][close $enfileo]}{ set exnicks [list] }bind pub n !addnick ..."    (file "scripts/month.tcl" line 6)    invoked from within"source scripts/month.tcl"    (file "eggdrop.conf" line 1341)[11:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Tue Dec 26, 2006 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-26T06:40:40-04:00</updated>

		<published>2006-12-26T06:40:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69253#p69253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69253#p69253"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69253#p69253"><![CDATA[
You didnt include the full error msg.. Read:  <br><a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Dec 26, 2006 6:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-26T03:33:16-04:00</updated>

		<published>2006-12-26T03:33:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69250#p69250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69250#p69250"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69250#p69250"><![CDATA[
nice work, but i get some error here when im trying to load it.<br><div class="codebox"><p>Code: </p><pre><code> while executing"if {[file exists $enfile]} { set exnicks [split [read [set enfileo [open $enfile]]] \n][close $enfileo]}{ set exnicks [list] }bind pub n !addnick ..."    (file "scripts/month.tcl" line 13)    invoked from within"source scripts/month.tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Tue Dec 26, 2006 3:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-27T11:11:26-04:00</updated>

		<published>2006-12-25T17:05:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69235#p69235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69235#p69235"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69235#p69235"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Set nicks file:set enfile scripts/enicks.txtsetudef flag kickmonthif {[file exists $enfile]} { set exnicks [split [read [set enfileo [open $enfile]]] \n][close $enfileo]} { set exnicks [list] }bind pub n !addnick addnicksbind pub n !delnick delnicksbind time - "00 00 01*" kickallproc addnicks {nick uhost hand chan arg} { global enfile exnicks set add [string tolower [lindex [split $arg] 0]] if {[lsearch -exact $exnicks $add] == -1} {  lappend exnicks $add  puthelp "notice $nick :Added $add to exempted nicks."  set ef [open $enfile w]  foreach n $exnicks { if {$n != ""} { puts $ef $n } }  close $ef } { puthelp "notice $nick :$add already exists" }}proc delnicks {nick uhost hand chan arg} { global enfile exnicks set add [string tolower [lindex [split $arg] 0]] if {[set i [lsearch -exact $exnicks $add]] != -1} {  set exnicks [lreplace $exnicks $i $i]  puthelp "notice $nick :Deleted $add from exempted nicks."  set ef [open $enfile w]  foreach n $exnicks { if {$n != ""} { puts $ef $n } }  close $ef } { puthelp "notice $nick :$add does not exist." }}proc kickall args { global exnicks foreach chan [channels] {  if {![channel get $chan kickmonth]} {continue}  foreach n [chanlist $chan] {   if {[lsearch -exact $exnicks [string tolower $n]] != -1} {continue}   if {[isop $n $chan] || [isvoice $n $chan]} {continue}   puthelp "kick $chan $n :It's the first of the month!"  } }}</code></pre></div>The channel should be set +kickmonth (channel setting) for the script to work on it.<br><br>Edit2: Fixed missing argument for time bind.<br>Edit: Fixed missing space between }{.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 25, 2006 5:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2006-12-25T13:36:11-04:00</updated>

		<published>2006-12-25T13:36:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69229#p69229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69229#p69229"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69229#p69229"><![CDATA[
Nice. and if i want it to kick on more then one chan? just add after each other?<br>And if possible. want to have a exclude list, where i can add people from being kicked.<br>like <br>!add nisse<br>nisse has been added to exempt list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Mon Dec 25, 2006 1:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-24T09:48:47-04:00</updated>

		<published>2006-12-24T09:48:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69218#p69218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69218#p69218"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69218#p69218"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time "00 00 01*" kickallproc kickall args { set chan #channel foreach n [chanlist $chan] {  if {[isop $n $chan] || [isvoice $n $chan]} {continue}  puthelp "kick $chan $n :It's the first of the month!" }}</code></pre></div>Edit: Added exempting ops and voices.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Dec 24, 2006 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bast]]></name></author>
		<updated>2007-02-28T20:37:16-04:00</updated>

		<published>2006-12-24T06:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69216#p69216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69216#p69216"/>
		<title type="html"><![CDATA[[FILLED] kick user at end of month]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69216#p69216"><![CDATA[
Is it possible to get a script to kick all on the chan at the end of each month with a kick message?<br>and excluded users should be op/voice.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8272">bast</a> — Sun Dec 24, 2006 6:13 am</p><hr />
]]></content>
	</entry>
	</feed>
