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

	<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>2018-12-03T10:59:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2018-12-03T10:59:09-04:00</updated>

		<published>2018-12-03T10:59:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107262#p107262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107262#p107262"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107262#p107262"><![CDATA[
I placed it in Modules &amp; Programming because I had searched the documentation and found no help so I figured that the people who maintained the code would have a better idea. After all, the .user file is not normally read by end users and so wouldn't normally appear in documentation.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Mon Dec 03, 2018 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-12-03T10:30:19-04:00</updated>

		<published>2018-12-03T10:30:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107261#p107261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107261#p107261"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107261#p107261"><![CDATA[
Somehow this thread is in:<br>Modules &amp; Programming<br><br>If an admin sees this -  would this thread be better off if it was moved to<br>Eggdrop Help <br>?<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Dec 03, 2018 10:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-12-03T10:38:11-04:00</updated>

		<published>2018-12-03T10:28:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107260#p107260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107260#p107260"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107260#p107260"><![CDATA[
<blockquote class="uncited"><div>... Sometimes the last used is missing. Does that mean it was never used?<br>...</div></blockquote>Until somebody comes along with a definitive answer, and if you want to research it some more yourself - here's a couple more ideas:<br><br>First, go here:<br><a href="http://docs.eggheads.org/mainDocs/tcl-commands.html" class="postlink">http://docs.eggheads.org/mainDocs/tcl-commands.html</a><br>and text search to find:<br>banlist [channel]<br>and read the description there.<br>From reading that, I think the answer to your above quoted question is, Yes.<br><br>Next:<br>Put your bot in some temp channel so you can experiment without bothering anyone, or being bothered by anyone.<br>Use the .+ban command in the partyline to create a ban.<br>(you can use:   .tcl banlist #channelName    in the partyline to see the ban, and see how it corresponds to what is found in tcl-commands.doc )<br><br>Join the channel, using a hostmask that matches the ban,  such that it triggers the bot to enforce the ban.<br><br>Do:  .tcl banlist #channelName      again.   Did that zero change to a unixtime number?<br>I think it will....<br>Do:  .tcl ctime &lt;that unixtime numer here&gt;   <br>and does it give you the time that the ban was enforced?<br>Do it a couple times, checking every time.<br>You'll probably prove it, and thus have your answer.<br><br>Note:  for the   .tcl   command to work for you in the partyline, you must have it enabled for your (owner's) use in eggdrop.conf .<br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Dec 03, 2018 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2018-12-03T02:15:06-04:00</updated>

		<published>2018-12-03T02:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107259#p107259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107259#p107259"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107259#p107259"><![CDATA[
Thanks for responding. I did that and some bans have "Created NN days ago, last used YY days ago. "  Sometimes the last used is missing. Does that mean it was never used?<br><br>But that is a good start, thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Mon Dec 03, 2018 2:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2018-12-03T02:03:52-04:00</updated>

		<published>2018-12-03T02:03:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107258#p107258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107258#p107258"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107258#p107258"><![CDATA[
Do a <a href="http://www.egghelp.org/commands/channels.htm#bans" class="postlink">.bans</a> in DCC Chat/Telnet and interpret what you see in there with what you can read from the file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 03, 2018 2:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LimeyTX]]></name></author>
		<updated>2018-12-03T01:46:57-04:00</updated>

		<published>2018-12-03T01:46:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107257#p107257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107257#p107257"/>
		<title type="html"><![CDATA[Format of ban lines in .user file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107257#p107257"><![CDATA[
The format of a ban line in the user file appears to be as follows:<br><br>hostmask:+0[*]:+date1:date2:op:reason<br><br>As far as I can tell the optional * appears to indicate that the ban is sticky.<br><br>Could someone confirm this, please.<br><br>What are the uses of date1 and date2. I'm assuming one is date last used. But date2 is sometimes 0.<br><br>Help and explanation welcomed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11711">LimeyTX</a> — Mon Dec 03, 2018 1:46 am</p><hr />
]]></content>
	</entry>
	</feed>
