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

	<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>2014-08-31T20:25:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-08-31T20:25:22-04:00</updated>

		<published>2014-08-31T20:25:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103177#p103177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103177#p103177"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103177#p103177"><![CDATA[
<blockquote class="uncited"><div>...<br> script is done</div></blockquote>That was quick!<br><br>Good to hear it.<br><br><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=10420">willyw</a> — Sun Aug 31, 2014 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2014-08-31T20:20:40-04:00</updated>

		<published>2014-08-31T20:20:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103176#p103176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103176#p103176"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103176#p103176"><![CDATA[
As i said the script is done .. i had that problem of "matching" the date exactly ...but now everything is clear <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) script is done<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Aug 31, 2014 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-08-31T20:19:19-04:00</updated>

		<published>2014-08-31T20:19:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103175#p103175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103175#p103175"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103175#p103175"><![CDATA[
You almost had me convinced that I just was not understanding what you  needed.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Good luck with it.<br>Let us know how it turns out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Aug 31, 2014 8:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2014-08-31T20:14:01-04:00</updated>

		<published>2014-08-31T20:14:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103174#p103174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103174#p103174"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103174#p103174"><![CDATA[
Yeah... greater than should be enough.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> my bad then. Was fixed to match that exactly.. <br><br>I often try to make something in the most complex way possible <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> so that later (weeks/months/years) find different ways to do the same but easier maybe just because TCLScripting is just a hobby <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Thanks for that simple idea <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=6396">Madalin</a> — Sun Aug 31, 2014 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-08-31T19:37:16-04:00</updated>

		<published>2014-08-31T19:37:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103173#p103173</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103173#p103173"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103173#p103173"><![CDATA[
<blockquote class="uncited"><div>...<br>so it wont match thats my problem</div></blockquote>To discern if it is expired, won't it only be necessary to see if the time is passed?   <br>In other words, why does it have to match?    Can't you just test for <br>greater than<br>or<br>less than<br>depending on how you go about it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Aug 31, 2014 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2014-08-31T19:33:56-04:00</updated>

		<published>2014-08-31T19:33:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103172#p103172</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103172#p103172"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103172#p103172"><![CDATA[
I have been using [clock scan [unixtime] +2 days] for example ... but if i use bind time after to check if that $var is the same it wont be because bind time is every minute at 00 second.. so it wont match thats my problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Aug 31, 2014 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-08-31T19:28:20-04:00</updated>

		<published>2014-08-31T19:28:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103171#p103171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103171#p103171"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103171#p103171"><![CDATA[
<blockquote class="uncited"><div>...<br> i want to know whats the best way to save that record and match it later to see if it expired or not</div></blockquote>What comes to mind is :  unixtime<br><br>If you can get the user to carefully input the date/time info,  then you can use:<br>clock scan<br>on it to convert it to unixtime <br><br>Once you have it in that format, it is a matter of simple math to compare it to the current time.<br><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> — Sun Aug 31, 2014 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2014-08-31T19:01:37-04:00</updated>

		<published>2014-08-31T19:01:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103170#p103170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103170#p103170"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103170#p103170"><![CDATA[
I have no problem in handleing file... i want to know whats the best way to save that record and match it later to see if it expired or not<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Aug 31, 2014 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-08-31T17:54:02-04:00</updated>

		<published>2014-08-31T17:54:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103169#p103169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103169#p103169"/>
		<title type="html"><![CDATA[Re: warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103169#p103169"><![CDATA[
<blockquote class="uncited"><div>...<br>i want the bot to know where it remained after restart <br>...</div></blockquote>Some here might advise you to use a database.  MySQL.   I have never tackled that.<br><br>If you wish to have something intact after a restart, then you are going to have to write it disk.<br>The other way, is to write it a plain text file.<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6885</a><br><br>Quite a bit of manipulation of records can be done.    How cumbersome it becomes is a matter of how much info per record, and how many records.<br><br>I don't fully understand exactly what you want to do yet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Aug 31, 2014 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2014-08-31T16:52:42-04:00</updated>

		<published>2014-08-31T16:52:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103168#p103168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103168#p103168"/>
		<title type="html"><![CDATA[warn script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103168#p103168"><![CDATA[
I want to create a warn script<br><br>!warn nickname time<br>time = can be hours/days/weeks/months etc<br><br>The script is almost finished i just dont know a way to script the part when that warning expires. I cant use timer because i want the bot to know where it remained after restart (and i dont think i can do that with timer) and i cant use bind time because it wont match the expiration date because i would probably use !warn command a specific second and bind time only acts at 00. So my question is how can i make that expiration date/unixtime match. How to save it and how to check it so i can remove it when it matches.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sun Aug 31, 2014 4:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
