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

	<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>2003-09-10T20:25:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sc0rp]]></name></author>
		<updated>2003-09-10T20:25:25-04:00</updated>

		<published>2003-09-10T20:25:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26936#p26936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26936#p26936"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26936#p26936"><![CDATA[
well whenever a user joins have it check an ini file.. when a user is not in the ini file write down the time joined and the nick of the user.. ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3819">Sc0rp</a> — Wed Sep 10, 2003 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-10T20:11:40-04:00</updated>

		<published>2003-09-10T20:11:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26934#p26934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26934#p26934"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26934#p26934"><![CDATA[
what do you mean ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 10, 2003 8:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sc0rp]]></name></author>
		<updated>2003-09-10T19:46:12-04:00</updated>

		<published>2003-09-10T19:46:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26932#p26932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26932#p26932"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26932#p26932"><![CDATA[
cant I write it into an ini or something?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3819">Sc0rp</a> — Wed Sep 10, 2003 7:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-10T19:34:55-04:00</updated>

		<published>2003-09-10T19:34:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26931#p26931</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26931#p26931"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26931#p26931"><![CDATA[
well setting a timer for each use is too much fir the cpu to handle...<br>I can't help you with that... wait for the PRO's :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 10, 2003 7:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sc0rp]]></name></author>
		<updated>2003-09-10T19:28:22-04:00</updated>

		<published>2003-09-10T19:28:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26929#p26929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26929#p26929"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26929#p26929"><![CDATA[
hmm but then how could I set a timer per user that joins?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3819">Sc0rp</a> — Wed Sep 10, 2003 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-10T19:26:37-04:00</updated>

		<published>2003-09-10T19:26:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26928#p26928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26928#p26928"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26928#p26928"><![CDATA[
you have:<br><br> else { <br>         set activatetimer($nick) [clock seconds] <br><br>but at first you only have:<br><br>if {[info exists activatetimer($nick)]} { <br>         if { $activatetimer($nick) &lt; $rater(timeset) } { <br><br>as you see $activetimer is not set, thus it can't be compared with $rater (which is a number therefore $activetimer should be set into a number)<br><br>also <strong class="text-strong">global botnick</strong> should be <strong class="text-strong">global botnick rater</strong> so that $rater(bla) is valid.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 10, 2003 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sc0rp]]></name></author>
		<updated>2003-09-10T19:14:44-04:00</updated>

		<published>2003-09-10T19:14:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26927#p26927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26927#p26927"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26927#p26927"><![CDATA[
what do u mean by <br><br>'I think there must be some set for the activatetimer in the proc before the else part too.'<br><br>cant exacly follow what ur saying there<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3819">Sc0rp</a> — Wed Sep 10, 2003 7:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-10T19:00:19-04:00</updated>

		<published>2003-09-10T19:00:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26926#p26926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26926#p26926"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26926#p26926"><![CDATA[
for starters add "raters" in the global line.<br>also I think there must be some set for the activatetimer in the proc before the else part too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 10, 2003 7:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sc0rp]]></name></author>
		<updated>2003-09-10T18:44:16-04:00</updated>

		<published>2003-09-10T18:44:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26920#p26920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26920#p26920"/>
		<title type="html"><![CDATA[Putting a timer on for each user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26920#p26920"><![CDATA[
Im writing a code that will add rating to my members member rating (at my forum) when they join my chan.. Ive put a timer on so they can hop all the time.. only problem is I dont know how to put a timer on for differemt users.. currently I have the following:<br><div class="codebox"><p>Code: </p><pre><code>bind join - *!*@*.* join_canalset rater(timer) 10800proc join_canal {nick uhost hand chan} {   global botnick   if { $nick != $botnick } {      if {[info exists activatetimer($nick)]} {         if { $activatetimer($nick) &lt; $rater(timeset) } {            set url http://www.zero-force.net/irc.php?invalidjoin=$nick            set conn [http::geturl $url]            upvar #0 $conn state            putserv "PRIVMSG $chan : $nick joined again"         }      } else {         set activatetimer($nick) [clock seconds]         set url http://www.zero-force.net/irc.php?join=$nick         set conn [http::geturl $url]         upvar #0 $conn state         putserv "PRIVMSG $chan : $nick joined"      }   }}</code></pre></div>though now activatetimer($nick) doesnt seem to go well cuz it just takes the 'else' all the time.. so was wondering what would be the best way to do this.. putting a timer on each user who joins..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3819">Sc0rp</a> — Wed Sep 10, 2003 6:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
