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

	<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-12-15T18:05:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-15T18:05:05-04:00</updated>

		<published>2004-12-15T18:05:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44053#p44053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44053#p44053"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44053#p44053"><![CDATA[
awesome! thanks a lot folks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Wed Dec 15, 2004 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-15T17:55:39-04:00</updated>

		<published>2004-12-15T17:55:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44052#p44052</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44052#p44052"/>
		<title type="html"><![CDATA[something like this?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44052#p44052"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msg - hello msg:helloproc msg:hello {n u h a} {*msg:hello $n $u $h $aif {![validuser $h]&amp;&amp;[validuser [finduser $n!$u]]} {# created...do what ever you need to do}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Dec 15, 2004 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-15T17:43:41-04:00</updated>

		<published>2004-12-15T17:43:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44051#p44051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44051#p44051"/>
		<title type="html"><![CDATA[hrm...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44051#p44051"><![CDATA[
i see what your saying... however my eggy is currently set up to learn users only when they register with it via the hello command. I can check if they are a valid user on join, but would not be able to change a variable in the user record until they actually went thru the process. Is there a way i can call a procedure upon creation of the user record?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Wed Dec 15, 2004 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-15T15:52:16-04:00</updated>

		<published>2004-12-15T15:52:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44049#p44049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44049#p44049"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44049#p44049"><![CDATA[
bind join and initialize their credit upon creation of the user record<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Dec 15, 2004 3:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-15T15:41:47-04:00</updated>

		<published>2004-12-15T15:41:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44048#p44048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44048#p44048"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44048#p44048"><![CDATA[
okay, i have most of my script done <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> .. i just have one more question. i would like to initialize the credit variable in the userfile when a new user signs up... just to give them a base amount of credit to start out with.. what would be the best way to go about this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Wed Dec 15, 2004 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-13T02:32:56-04:00</updated>

		<published>2004-12-13T02:32:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43934#p43934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43934#p43934"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43934#p43934"><![CDATA[
exactly what i was looking for... i have been looking at that document for the last 3 hours and somehow missed it. if it was a snake it would have bit me.<br><br>Thanks a ton<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Mon Dec 13, 2004 2:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T02:18:59-04:00</updated>

		<published>2004-12-13T02:18:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43932#p43932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43932#p43932"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43932#p43932"><![CDATA[
all you need is in tcl-commands.doc<br><br>use the XTRA field of user record to store custom data (beware that its length is limited)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 2:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-13T02:05:47-04:00</updated>

		<published>2004-12-13T02:05:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43928#p43928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43928#p43928"/>
		<title type="html"><![CDATA[hrmm...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43928#p43928"><![CDATA[
thanks for all your help thus far  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">  is there a way to add a new entry-type to a user record in the userfile? I have looked a reference on how to manipulate user records, but have been only able to find a short list of commands, are there any better (more in depth) resources on this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Mon Dec 13, 2004 2:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-13T00:09:56-04:00</updated>

		<published>2004-12-13T00:09:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43917#p43917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43917#p43917"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43917#p43917"><![CDATA[
userfile is the obvious and convenient choice (if you don't expect to have too many users to maintain credit of; otherwise, you may need to resort to external files or database)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 13, 2004 12:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-12T22:58:07-04:00</updated>

		<published>2004-12-12T22:58:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43915#p43915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43915#p43915"/>
		<title type="html"><![CDATA[thanks!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43915#p43915"><![CDATA[
you're right when you break it down like that it does seem easier. I guess the only real questions i have left is where would be the ideal place to store the credit that the users accrue, and how would i access that data from all of the scripts?<br><br>i.e: if i create a function to control the running of a script via public trigger (how would i access the users credit)? and if i were to create a function to reward users for winning games, chan-idel... etc... (where would be the best place to store the credit? userfile perhaps???)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Sun Dec 12, 2004 10:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-12T17:36:22-04:00</updated>

		<published>2004-12-12T17:36:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43911#p43911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43911#p43911"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43911#p43911"><![CDATA[
anything can be done, once you have defined what your requirements are - namely, credit awarding criteria and triggers that need to be controlled<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 12, 2004 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-12T16:03:42-04:00</updated>

		<published>2004-12-12T16:03:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43910#p43910</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43910#p43910"/>
		<title type="html"><![CDATA[bump]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43910#p43910"><![CDATA[
if something like this does not already exist... can it be done? and if so would someone be so kind as to give me a few good coding references.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Sun Dec 12, 2004 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[subtlepoint]]></name></author>
		<updated>2004-12-11T16:31:52-04:00</updated>

		<published>2004-12-11T16:31:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43880#p43880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43880#p43880"/>
		<title type="html"><![CDATA[credit script?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43880#p43880"><![CDATA[
Can anyone tell me if there is a script that will give the eggdrops users credit for doing certain things... winning games, chan-idling, most words spoken.. etc.... I am really looking for something to protect certain public triggers from being used unless the user is willing to spend the required amount of credit to use the trigger. I imagine some of these attributes are probably used in rpg bots, but I am personally unfamiliar with them, so any help would be greatly appreciated!<br><br>thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>subtlepoint<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5773">subtlepoint</a> — Sat Dec 11, 2004 4:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
