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

	<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>2004-10-10T12:51:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Mark]]></name></author>
		<updated>2004-10-10T12:51:14-04:00</updated>

		<published>2004-10-10T12:51:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41734#p41734</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41734#p41734"/>
		<title type="html"><![CDATA[Bot that keeps track of a database]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41734#p41734"><![CDATA[
ok, when somebody does a -count 72 4587(for example), it adds the number 4587 to a database under the variable 72, then when someone does -walk 72 4587, it adds 4587 under, lets say walk72(for example). then when somebody does -event 72, it messages them whatever is stored under variable 72, walk72, and then 72-walk72. and also whenever someone does -count 72 4587, it checks it, and halts before it adds it if the 2nd number is below the current number in variable 72, or if it is higher then 20 numbers above the current number in variable 72.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5519">Mark</a> — Sun Oct 10, 2004 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-10-10T02:12:10-04:00</updated>

		<published>2004-10-10T02:12:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41720#p41720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41720#p41720"/>
		<title type="html"><![CDATA[Bot that keeps track of a database]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41720#p41720"><![CDATA[
Explain what id dose a bit cos not all are experienced with mirc language. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Oct 10, 2004 2:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mark]]></name></author>
		<updated>2004-10-09T21:08:04-04:00</updated>

		<published>2004-10-09T21:08:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41719#p41719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41719#p41719"/>
		<title type="html"><![CDATA[Bot that keeps track of a database]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41719#p41719"><![CDATA[
basically, what i want to do is have a bot that can store data where if someone types, -count 72 4536, it stores that in a database, and if someone types -event 72, it reads back whatever is in the database?, i'm not very good at scripting, and i just started to learn tcl, and if the current count stored under 72 is higher then something someone types, it doesnt do anything, like if 72 is @ 4536, someone cant move it down to 72 @ 4535, here is an mirc example script if it will help anyone<br><div class="codebox"><p>Code: </p><pre><code>on *:text:-*:#:{  if ($1 == -count) &amp;&amp; ($2 isnum) &amp;&amp; ($3 isnum $+(1-,$calc($hget(count,$2) + 20))) { hadd -m count $2- }  elseif ($1 == -walk) &amp;&amp; ($2 isnum) &amp;&amp; ($3 isnum $+(1-,$calc($hget(count,$2) + 20))) { hadd -m walk $2- }  elseif ($1 == -event) &amp;&amp; ($hget(count,$2)) &amp;&amp; ($hget(walk,$2)) { msg $nick Current Count on $2 is $hget(count,$2) | msg $nick Last Walk on $2 is $hget(walk,$2) | msg $nick SLW: $+(,$calc($hget(count,$2) - ($hget(walk,$2)))))) }}</code></pre></div>any help would be great....i would read up and try to figure it out by myself, but there arnt enough hours in the day for me right now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5519">Mark</a> — Sat Oct 09, 2004 9:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
