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

	<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>2022-05-05T15:43:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[fusionx]]></name></author>
		<updated>2022-05-05T15:43:18-04:00</updated>

		<published>2022-05-05T15:43:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111096#p111096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111096#p111096"/>
		<title type="html"><![CDATA[Re: Change min-max,default for BogusTrivia settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111096#p111096"><![CDATA[
<blockquote class="uncited"><div>fusion,<br><br>Change the min-max,default for most BogusTrivia script settings:<br><br>Goodluck, let me know</div></blockquote>Spike^^ - thanks so much for the reply! <br><br>I literally just went through the script and modified those very values, moments before reading your reply. I also modified the equivalents for slow and rest, to make sure they were also set high enough to match/exceed the standard speed. I haven't uploaded the changes yet, but will do so right now. <br><br>Thanks again! Your script is awesome <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Edit: uploaded and tested, working fine. Thanks again!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12955">fusionx</a> — Thu May 05, 2022 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2022-05-05T14:40:32-04:00</updated>

		<published>2022-05-05T14:40:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111095#p111095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111095#p111095"/>
		<title type="html"><![CDATA[Change min-max,default for BogusTrivia settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111095#p111095"><![CDATA[
fusion,<br><br>Change the min-max,default for most BogusTrivia script settings:<br><br>Note: this works for most script settings that expect a number.<br><br>Let's say we want to always have 2 minutes between all questions.<br>So you go to the t-2.settings.tcl file and find the setting for time between questions...<div class="codebox"><p>Code: </p><pre><code>set t2(ptime) "20"    ;# play time between questions (6 to 60 seconds) #</code></pre></div>The default maximum time for this setting is 60 seconds.<br><br>Make note of the setting-element-name, in this case, ptime<br><br>While yer here, edit that line in the settings file to be more like...<div class="codebox"><p>Code: </p><pre><code>set t2(ptime) "120"    ;# play time between questions (6 to 300 seconds) #</code></pre></div><br>BogusTrivia has one process that does verification of all input from the settings file.<br>Search the t-2.tcl file for this line of code (around line 432)...<div class="codebox"><p>Code: </p><pre><code>proc TFixSettins {} {  global t2</code></pre></div>The data you wish to find &amp; change is somewhere in the next 30 or so lines...<div class="codebox"><p>Code: </p><pre><code> set v(nls0) "randfil maxanti match restart custclr stripcolor stripspace" set v(nls1) "otherhist shonum shothe descend givansr givkaos ever tda twe tmo lda lwe lmo" set v(nls2) "history usrqes krest" set v(nds2) "0-2,2   0-2,2  0-2,1" set v(nls3) "voice autostart kstyle v-top3 v-top10 v-op l-match" set v(nds3) "0-3,3   0-3,2   0-3,1  0-3,3  0-3,3  0-3,3  0-3,3" set v(nls4) "maxhow bakhow v-mhow v-msg" set v(nds4) "1-2,2  1-2,1  1-2,2  1-2,2" set v(nls5) "greet color today yesterda bakupu bakuph newweek kbonus v-how v-max jflud jqtime" set v(nds5) "0-4,3 0-8,1 1-3,3  1-3,3   0-9,2  0-9,2   1-7,1  0-9,5  0-4,3 1-9,3 2-9,5 1-9,4" append v(nls5) " l-rnum roundques roundbonus roundkaos roundkbon" append v(nds5) " 0-9,1  0-9,0     0-9,0      0-9,0     0-9,0" set v(nls6) "lpoint hpoint maxbonus klpoint khpoint kbonlo kbonhi" set v(nds6) "5000   10000  15000    5000    10000   5000   10000" set v(nls7) "dobonus kaos pubcmd randad qslow pslow rest   oldusr v-min   limit minbonus" set v(nds7) "99,10  99,10 60,10  99,4   90,20 90,25 120,30 +,365 1000000,0 +,0  +,0" append v(nls7) " p-tmax-d p-tmax-w p-tmax-m p-tmax-e" append v(nds7) " 500,30   500,60   800,120  2000,250" set v(nls8) "qtime   ptime   ktime    maxchar    sqcnt  rqcnt   usrmax" set v(nds8) "6-60,15 6-60,20 6-90,20 200-999,400 3-99,6 5-99,15 200-+,500" append v(nls8) " a-delay a-same  g-same  v-same  jftime  p-activ" append v(nds8) " 5-30,10 1-60,10 1-60,10 1-60,10 5-60,20 1-365,7" set v(tls0) "mflag oflag sflag pflag pqflag hflag p-gflag p-tflag" set v(tls1) "a-xflag g-xflag v-xflag" set v(tls2) "chan on off upubq hint p-cmdpre m-cmdpre hintchar" set v(tls3) "p-mystat p-opstat p-info p-owner p-page p-top-d p-t20-d p-tmor-d" append v(tls3) " p-top-w p-t20-w p-tmor-w p-top-m p-t20-m p-tmor-m p-top-e p-t20-e p-tmor-e" set v(tls4) "a-xnick g-xnick v-xnick" set v(tls5) "rndlin g-say g-fludsay p-pwww l-stxt l-rtxt" set v(tlsdef) "on .t2 mflag o|o"</code></pre></div>Search those lines for the setting-element-name noted earlier, in this case, ptime<br><br>Note that line and the one just after it....<div class="codebox"><p>Code: </p><pre><code> set v(nls8) "qtime   ptime   ktime    maxchar    sqcnt  rqcnt   usrmax" set v(nds8) "6-60,15 6-60,20 6-90,20 200-999,400 3-99,6 5-99,15 200-+,500"</code></pre></div>The code you would edit is just below the found setting-element-name, in this case, 6-60,20<br>Note that the 6-60 part is code for:  (6 to 60 seconds)<br><br>Make those two lines look more like...<div class="codebox"><p>Code: </p><pre><code> set v(nls8) "qtime   ptime    ktime    maxchar    sqcnt  rqcnt   usrmax" set v(nds8) "6-60,15 6-300,20 6-90,20 200-999,400 3-99,6 5-99,15 200-+,500"</code></pre></div>Goodluck, let me know<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu May 05, 2022 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2022-05-05T06:55:43-04:00</updated>

		<published>2022-05-05T06:55:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111094#p111094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111094#p111094"/>
		<title type="html"><![CDATA[BogusTrivia - time between questions more than 60 seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111094#p111094"><![CDATA[
<blockquote class="uncited"><div>!summon SpiKe^^<br>...<br></div></blockquote><br>I like that !       ... I have to remember it, for future use.         <br><br><br><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=10420">willyw</a> — Thu May 05, 2022 6:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fusionx]]></name></author>
		<updated>2022-05-04T21:59:59-04:00</updated>

		<published>2022-05-04T21:59:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111092#p111092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111092#p111092"/>
		<title type="html"><![CDATA[BogusTrivia - time between questions more than 60 seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111092#p111092"><![CDATA[
<blockquote class="uncited"><div>The script is really complex, I can't read it now and say why there is this limitation</div></blockquote>I tried to read through all the "rest" and "slow" logic and don't really get it. I'm not a TCL programmer, that's a fact <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=12955">fusionx</a> — Wed May 04, 2022 9:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-05-04T17:58:21-04:00</updated>

		<published>2022-05-04T17:58:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111091#p111091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111091#p111091"/>
		<title type="html"><![CDATA[BogusTrivia - time between questions more than 60 seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111091#p111091"><![CDATA[
!summon SpiKe^^<br><br>If the config file says "between 1 and 60" (it does), it means that actually it's impossible to use more than 60s.<br>The script is really complex, I can't read it now and say why there is this limitation<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed May 04, 2022 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[fusionx]]></name></author>
		<updated>2022-05-04T16:59:20-04:00</updated>

		<published>2022-05-04T16:59:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111090#p111090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111090#p111090"/>
		<title type="html"><![CDATA[BogusTrivia - time between questions more than 60 seconds?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111090#p111090"><![CDATA[
H!<br><br>I've just installed BogusTrivia (2.06.4.7 Full Release) and it's working great.<br><br>I'd like to have it wait longer between questions - the max wait in "normal time" is 60 seconds. Can someone help me out extending this to a few minutes?<br><br>I did try entering "120" and it sends the next question at 60 seconds anyway. <br><br>I'd prefer to have much more time between questions - as it it, the trivia is taking over the channel - hehe.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12955">fusionx</a> — Wed May 04, 2022 4:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
