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

	<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-06-06T05:55:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T05:55:24-04:00</updated>

		<published>2003-06-06T05:55:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21358#p21358</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21358#p21358"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21358#p21358"><![CDATA[
hey what about this error i get <br>&lt;BoT&gt; [04:44] Tcl error in script for 'timer746':<br>&lt;Bot&gt; [04:44] random limit must be greater than zero<br><br>got any idea??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Fri Jun 06, 2003 5:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T05:24:11-04:00</updated>

		<published>2003-06-06T05:24:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21356#p21356</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21356#p21356"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21356#p21356"><![CDATA[
thx alot all of u guys for ur help yeha it works fine nowz <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=3285">KrE80r</a> — Fri Jun 06, 2003 5:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-06-06T05:17:48-04:00</updated>

		<published>2003-06-06T05:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21355#p21355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21355#p21355"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21355#p21355"><![CDATA[
if {[strlwr $tgchan]==[strlwr $chan]} {<br>you did right in removing this, and it was probably what caused the error, if you get the same error again, restart your bot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jun 06, 2003 5:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T05:13:00-04:00</updated>

		<published>2003-06-06T05:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21354#p21354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21354#p21354"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21354#p21354"><![CDATA[
<blockquote class="uncited"><div> proc tgstart {nick uhost handle arg} {<br>if {[passwdok $handle $arg]} {<br> global tgplaying tgstreak tgchan tgerrremindtime tgerrremindtimer tgmissed<br>  if {$tgplaying==0} {<br>   tggamemsg "[tgcolstart]Trivia game started by $nick!"<br>   tgnextq<br>   set tgplaying 1<br>   set tgstreak 0<br>   set tgmissed 0<br>   set tgerrremindtimer [timer $tgerrremindtime tgerrremind]<br> }<br>}<br>}</div></blockquote><br>here it is man like this its working i removed this line to make it work:<br>proc tgstart {nick host hand chan text} {<br> global tgplaying tgstreak tgchan tgerrremindtime tgerrremindtimer tgmissed<br> if {[strlwr $tgchan]==[strlwr $chan]} {<br><br><br>i removed the last line<br>does this affect it ???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Fri Jun 06, 2003 5:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-06-06T05:09:33-04:00</updated>

		<published>2003-06-06T05:09:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21353#p21353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21353#p21353"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21353#p21353"><![CDATA[
paste the tgstart proc in here please <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=852">Papillon</a> — Fri Jun 06, 2003 5:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T04:55:58-04:00</updated>

		<published>2003-06-06T04:55:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21352#p21352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21352#p21352"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21352#p21352"><![CDATA[
hmm i added back variable chan i get <br>Tcl error [tgstart]: no value given for parameter "arg" to "tgstart"<br><br>hmm wanna me send u the file ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Fri Jun 06, 2003 4:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T04:54:17-04:00</updated>

		<published>2003-06-06T04:54:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21351#p21351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21351#p21351"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21351#p21351"><![CDATA[
well it is asking for the variable chan which i removed  based on ur request stdragon <br>the error is<br>Tcl error [tgstart]: can't read "chan": no such variable<br><br>so shall i return it back??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Fri Jun 06, 2003 4:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-06-06T04:48:25-04:00</updated>

		<published>2003-06-06T04:48:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21348#p21348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21348#p21348"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21348#p21348"><![CDATA[
or make it look like this...<div class="codebox"><p>Code: </p><pre><code>set pass [lindex [split $arg] 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jun 06, 2003 4:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-06T04:46:59-04:00</updated>

		<published>2003-06-06T04:46:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21347#p21347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21347#p21347"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21347#p21347"><![CDATA[
You're doing great so far. You can get rid of the lindex part, because $arg will be the password already (it's not a list). After that, try testing it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jun 06, 2003 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-06T04:40:52-04:00</updated>

		<published>2003-06-06T04:40:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21346#p21346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21346#p21346"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21346#p21346"><![CDATA[
well caesar :<br>i just wanna this !start proc asks for password also<br>here is what i added :<br>#starts the game if it isn't running.<br>proc tgstart {nick uhost hand arg} {<br>set pass [lindex $arg 0]<br>if {[passwdok $handle $pass]} {<br><br><br><br>dont think it will work  but hmm try to help me out<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Fri Jun 06, 2003 4:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-06T02:01:37-04:00</updated>

		<published>2003-06-06T02:01:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21340#p21340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21340#p21340"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21340#p21340"><![CDATA[
What you've pasted is the proc. What you should be modifing is the bind. Also, read and folow stdragon sugestions. They have great value.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jun 06, 2003 2:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-05T21:28:14-04:00</updated>

		<published>2003-06-05T21:28:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21325#p21325</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21325#p21325"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21325#p21325"><![CDATA[
sorry for being lame but pls tell me how can i cahnge it<br>here is the proc<br><br>proc tgstart {nick host hand chan text}<br>what shall i add or remove man???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Thu Jun 05, 2003 9:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-05T21:22:42-04:00</updated>

		<published>2003-06-05T21:22:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21323#p21323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21323#p21323"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21323#p21323"><![CDATA[
That's right for the first step. Now you have to modify the tgstart procedure. First of all, the arguments change (no channel). Check tcl-commands.doc for the correct arguments. The password will be in the last argument. Read tcl-commands.doc for help on how to validate the password.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Jun 05, 2003 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrE80r]]></name></author>
		<updated>2003-06-05T21:18:17-04:00</updated>

		<published>2003-06-05T21:18:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21319#p21319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21319#p21319"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21319#p21319"><![CDATA[
well man its cool but how its not my script how to make it ask for password<br>i think i can cahnge <br>bind pub $tgflagsstart $tgcmdstart tgstart     into<br>bind msg $tgflagsstart $tgcmdstart tgstart<br><br>nut how to ask for the password?? with the command??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3285">KrE80r</a> — Thu Jun 05, 2003 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-05T21:04:29-04:00</updated>

		<published>2003-06-05T21:04:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21317#p21317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21317#p21317"/>
		<title type="html"><![CDATA[a tcl script to make +o users identify when they join channe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21317#p21317"><![CDATA[
It sounds like the easiest thing is to change the start command. Get rid of the public !start command and make it a message command instead. It should be like, /msg bot !start yourpassword. That way, only +o users can use it, but even then they have to supply their passwords.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Jun 05, 2003 9:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
