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

	<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>2005-05-03T07:57:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-03T07:57:42-04:00</updated>

		<published>2005-05-03T07:57:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48942#p48942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48942#p48942"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48942#p48942"><![CDATA[
I'm not sure about that, but I think it'll only display your score/rank... try it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 03, 2005 7:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[teduh]]></name></author>
		<updated>2005-05-03T06:49:22-04:00</updated>

		<published>2005-05-03T06:49:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48937#p48937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48937#p48937"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48937#p48937"><![CDATA[
Sir_Fs said:<br>If you read what we've done in this thread, you would've noticed that he requested the same but it's !rank and not !score... If you want, just change !rank to !score.<br><br><br>Wouldnt it display the top5 or top10 rank? if i am not wrong, all i need is just to display his or her own score/ point.<br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6179">teduh</a> — Tue May 03, 2005 6:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-02T09:28:25-04:00</updated>

		<published>2005-05-02T09:28:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48880#p48880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48880#p48880"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48880#p48880"><![CDATA[
If you read what we've done in this thread, you would've noticed that he requested the same but it's !rank and not !score... If you want, just change !rank to !score.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon May 02, 2005 9:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[teduh]]></name></author>
		<updated>2005-05-02T02:02:52-04:00</updated>

		<published>2005-05-02T02:02:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48851#p48851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48851#p48851"/>
		<title type="html"><![CDATA[Trivia scripts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48851#p48851"><![CDATA[
I use <a href="http://www.eggdrop.za.net/" class="postlink">http://www.eggdrop.za.net/</a> trivia scripts and work fine, is it any other way to change if user wanna se their score just by typing just !score  on the channel , rather than /msg &lt;botnick&gt; score<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6179">teduh</a> — Mon May 02, 2005 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-02-26T07:19:22-04:00</updated>

		<published>2005-02-26T07:19:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46952#p46952</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46952#p46952"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46952#p46952"><![CDATA[
i fixed, tnx dudes  <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=5711">FuE-</a> — Sat Feb 26, 2005 7:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-02-26T07:15:13-04:00</updated>

		<published>2005-02-26T07:15:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46951#p46951</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46951#p46951"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46951#p46951"><![CDATA[
<blockquote class="uncited"><div>wrong again.. this is my script now...<br><div class="codebox"><p>Code: </p><pre><code>### SET PROCS ###############set procs {rank:proc_tgscorelookup}################################ SET BINDINGS ############bind pub -|- !rank proc_tgscorelookup#############################proc proc_tgscorelookup {nick host hand text} {   global tgscoresbyname tgranksbyname tgscorestotal tgrealnames   if {$text==""} { set text $nick } else { set text [lindex [split $text] 0] }   tggetscores   if {![info exists tgscoresbyname([strlwr $text])]} {      if {[strlwr $text]==[strlwr $nick]} {         set _who "[tgcolmisc1]You are"      } else {         set _who "[tgcolmisc2]$text [tgcolmisc1]is"      }      [tgpriv] $nick "[tgbold]$_who [tgcolmisc1]not on the score list."   } else {      if {[strlwr $text]==[strlwr $nick]} {         set _who "[tgcolmisc1]You have"      } else {         set _who "[tgcolmisc2]$tgrealnames([strlwr $text]) [tgcolmisc1]has"      }      [tgpriv] $nick "[tgbold]$_who [tgcolmisc2]$tgscoresbyname([strlwr $text])[tgcolmisc1] points, ranked [tgcolmisc2][ordnumber $tgranksbyname([strlwr $text])] [tgcolmisc1]of [tgcolmisc2]$tgscorestotal[tgcolmisc1]."   }} </code></pre></div></div></blockquote>You didn't try what I suggested. Also, there's no need for "set procs" and there's no need to make a new proc while it already exists in trivia.tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Feb 26, 2005 7:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-02-26T07:08:36-04:00</updated>

		<published>2005-02-26T07:08:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46950#p46950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46950#p46950"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46950#p46950"><![CDATA[
wrong again.. this is my script now...<br><div class="codebox"><p>Code: </p><pre><code>### SET PROCS ###############set procs {rank:proc_tgscorelookup}################################ SET BINDINGS ############bind pub -|- !rank proc_tgscorelookup#############################proc proc_tgscorelookup {nick host hand text} {   global tgscoresbyname tgranksbyname tgscorestotal tgrealnames   if {$text==""} { set text $nick } else { set text [lindex [split $text] 0] }   tggetscores   if {![info exists tgscoresbyname([strlwr $text])]} {      if {[strlwr $text]==[strlwr $nick]} {         set _who "[tgcolmisc1]You are"      } else {         set _who "[tgcolmisc2]$text [tgcolmisc1]is"      }      [tgpriv] $nick "[tgbold]$_who [tgcolmisc1]not on the score list."   } else {      if {[strlwr $text]==[strlwr $nick]} {         set _who "[tgcolmisc1]You have"      } else {         set _who "[tgcolmisc2]$tgrealnames([strlwr $text]) [tgcolmisc1]has"      }      [tgpriv] $nick "[tgbold]$_who [tgcolmisc2]$tgscoresbyname([strlwr $text])[tgcolmisc1] points, ranked [tgcolmisc2][ordnumber $tgranksbyname([strlwr $text])] [tgcolmisc1]of [tgcolmisc2]$tgscorestotal[tgcolmisc1]."   }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Sat Feb 26, 2005 7:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-02-26T07:01:27-04:00</updated>

		<published>2005-02-26T07:01:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46949#p46949</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46949#p46949"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46949#p46949"><![CDATA[
try changing:<div class="codebox"><p>Code: </p><pre><code>proc {nick host hand text} {</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>proc {nick host hand chan text} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Feb 26, 2005 7:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-02-26T06:34:54-04:00</updated>

		<published>2005-02-26T06:34:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46946#p46946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46946#p46946"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46946#p46946"><![CDATA[
i added<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !rank proc_tgscorelookup</code></pre></div>and when i do !rank i get<br><div class="codebox"><p>Code: </p><pre><code>tcl error [proc_tgsscorelookup]: invalid command name "proc_tgsscorelookup"</code></pre></div>i changed it to<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !rank tgscorelookup</code></pre></div>and i get<br><div class="codebox"><p>Code: </p><pre><code>tcl error [tgsscorelookup]: wrong # args: should be "tgsscorelookup nick host hande text"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Sat Feb 26, 2005 6:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-26T03:58:59-04:00</updated>

		<published>2005-02-26T03:58:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46930#p46930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46930#p46930"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46930#p46930"><![CDATA[
<blockquote class="uncited"><div>what ya mean (= help me  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"></div></blockquote>Look in your trivia script. At the top of the script you should see a few lines with the word <span style="color:red">bind</span> at the front.<br>Under the last <span style="color:red">bind</span> copy this bit of code into the script.<div class="codebox"><p>Code: </p><pre><code>bind pub - !rank tgscorelookup</code></pre></div> Save the script.<br>Restart your bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Feb 26, 2005 3:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dossi]]></name></author>
		<updated>2005-02-26T01:38:14-04:00</updated>

		<published>2005-02-26T01:38:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46928#p46928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46928#p46928"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46928#p46928"><![CDATA[
Add that line to the beginning of the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5819">dossi</a> — Sat Feb 26, 2005 1:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-02-25T21:49:39-04:00</updated>

		<published>2005-02-25T21:49:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46927#p46927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46927#p46927"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46927#p46927"><![CDATA[
what ya mean (= help me  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Fri Feb 25, 2005 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-25T21:39:51-04:00</updated>

		<published>2005-02-25T21:39:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46926#p46926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46926#p46926"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46926#p46926"><![CDATA[
add a new bind command at the top of the script with the other binds.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !rank tgscorelookup</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Feb 25, 2005 9:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FuE-]]></name></author>
		<updated>2005-02-25T21:17:42-04:00</updated>

		<published>2005-02-25T21:17:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46925#p46925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46925#p46925"/>
		<title type="html"><![CDATA[Trivia rank]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46925#p46925"><![CDATA[
hi i use <a href="http://www.eggdrop.za.net/" class="postlink">http://www.eggdrop.za.net/</a> trivia script. if i wanna make so if i write !rank in mainchan i can see my rank to and f i write !rank &lt;user&gt; i can se others rank to.. how can i do that.. the text below is the script from the /msg &lt;bot&gt; rank..... please help me<br><div class="codebox"><p>Code: </p><pre><code>#triggered when someone /msgs the bot with the score lookup command.proc tgscorelookup {nick host hand text} {global tgscoresbyname tgranksbyname tgscorestotal tgrealnamesif {$text==""} { set text $nick } else { set text [lindex [split $text] 0] }tggetscoresif {![info exists tgscoresbyname([strlwr $text])]} {if {[strlwr $text]==[strlwr $nick]} {set _who "[tgcolmisc1]You are"} else {set _who "[tgcolmisc2]$text [tgcolmisc1]is"}[tgpriv] $nick "[tgbold]$_who [tgcolmisc1]not on the score list."} else {if {[strlwr $text]==[strlwr $nick]} {set _who "[tgcolmisc1]You have"} else {set _who "[tgcolmisc2]$tgrealnames([strlwr $text]) [tgcolmisc1]has"}[tgpriv] $nick "[tgbold]$_who [tgcolmisc2]$tgscoresbyname([strlwr $text])[tgcolmisc1] points, ranked [tgcolmisc2][ordnumber $tgranksbyname([strlwr $text])] [tgcolmisc1]of [tgcolmisc2]$tgscorestotal[tgcolmisc1]."}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5711">FuE-</a> — Fri Feb 25, 2005 9:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
