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

	<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>2016-03-27T18:21:34-04:00</updated>

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

		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-27T18:21:34-04:00</updated>

		<published>2016-03-27T18:21:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104854#p104854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104854#p104854"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104854#p104854"><![CDATA[
I have performed the recommended way. Thank you  <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=12499">juanamores</a> — Sun Mar 27, 2016 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-27T00:32:43-04:00</updated>

		<published>2016-03-27T00:32:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104851#p104851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104851#p104851"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104851#p104851"><![CDATA[
juanamores<br>Your method will make all game stops read as though it was stopped due to the game being idle, even when you stop the game manually with the off command.<br><br>Change your patch to look more like this...<div class="codebox"><p>Code: </p><pre><code>   if {$uh eq "idle" &amp;&amp; $hn eq "stop"} {     putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped, because nobody has played in 6 questions."   } else {     putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped."   }</code></pre></div>That way the new edited stop message will only be used when the script idle-stops itself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sun Mar 27, 2016 12:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-26T23:08:18-04:00</updated>

		<published>2016-03-26T23:08:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104850#p104850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104850#p104850"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104850#p104850"><![CDATA[
I had already solved, in a perhaps less professional than yours form, but equally it worked well:<div class="codebox"><p>Code: </p><pre><code>  if {$t2(qslow)=="0" } {     putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped, because nobody has played in 6 questions."   } else {     putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped."   } </code></pre></div>Thanks <strong class="text-strong">SpiKe^^</strong>, for the excellent support provided.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sat Mar 26, 2016 11:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-26T22:03:10-04:00</updated>

		<published>2016-03-26T22:03:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104849#p104849</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104849#p104849"/>
		<title type="html"><![CDATA[Custom idle-stop message for BogusTrivia]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104849#p104849"><![CDATA[
<blockquote class="uncited"><div>Another thing.. <br>You can put a custom message when it is turned off automatically because nobody has played ?</div></blockquote>That could be done, but there is no current setting that does that.<br>You would have to edit the script code in t-2.tcl<br><br>Search for this line in the t-2.tcl file...<div class="codebox"><p>Code: </p><pre><code>   putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped."</code></pre></div>and replace that line with something more like...<div class="codebox"><p>Code: </p><pre><code>   if {$uh eq "idle" &amp;&amp; $hn eq "stop"} {     putquick "PRIVMSG $ch :What you want to say on an idle-stop"   } else {     putquick "PRIVMSG $ch :$t2(script) by $t2(auth) Stopped."   }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sat Mar 26, 2016 10:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-26T19:20:10-04:00</updated>

		<published>2016-03-26T19:20:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104848#p104848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104848#p104848"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104848#p104848"><![CDATA[
Thanks SpiKe^^, I thought it was incompatible to set  Idle-stop with on-join auto-start (Off).<br>For my little knowledge of English, I had misunderstood the following note:<br># on-join auto-start #<br># automaticly start bogustrivia when someone joins the channel ??  (0 = no) #<br># <strong class="text-strong">Note:</strong>  for this to function, Idle-stop Must Be Turned ON!  # <br><br>Apologies, solved. <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=12499">juanamores</a> — Sat Mar 26, 2016 7:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-26T18:04:34-04:00</updated>

		<published>2016-03-26T18:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104847#p104847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104847#p104847"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104847#p104847"><![CDATA[
BogusTrivia has a LOT of settings, Please read the entire settings file and set them as you require.<br><br>Right below the 2 settings discussed above is the setting you are currently seeking...<div class="codebox"><p>Code: </p><pre><code># on-join auto-start ## automaticly start bogustrivia when someone joins the channel ??  (0 = no) ## Note:  for this to function, Idle-stop Must Be Turned ON!  ## Note:  using the public off command overrides auto-start!  ##        use the public on command to reactivate auto-start. ## Note:  auto-start only triggers if bogus was idle-stopped. ## 1 = silently start game  |  2 = say public  |  3 = say channel notice ##  SEE BELOW:  Advanced On-Join Auto-Start Settings #set t2(autostart) "2"</code></pre></div>As stated in the settings file, setting t2(autostart) to "0" will disable on-join auto-start<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sat Mar 26, 2016 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-26T14:39:36-04:00</updated>

		<published>2016-03-26T14:39:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104846#p104846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104846#p104846"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104846#p104846"><![CDATA[
Thanks SpiKe^^, works!!. <br>but.....<br>Oops... on-join auto-start was activated when I set Idle-stop <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><br>You can solve for the game may not start when users join the channels ?<br><br>Another thing..<br>You can put a custom message when it is turned off automatically because nobody has played ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sat Mar 26, 2016 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-24T19:09:29-04:00</updated>

		<published>2016-03-24T19:09:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104841#p104841</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104841#p104841"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104841#p104841"><![CDATA[
juanamores: BogusTrivia already has settings to do that, it's called idle-stop.<br><br>There are 2 settings that can enable idle-stop, in this section of the t-2.settings.tcl file...<div class="codebox"><p>Code: </p><pre><code># slow-times or idle-stop #  after this many questions with no one playing the game: ## the times between hints &amp; questions increase to these settings, ## or idle-stop the bogustrivia game. #set t2(sqcnt) "6"     ;# use slow-times or idle-stop after this many questions not played #set t2(qslow) "20"    ;# slow time between hints (6 to 90 seconds) (0 = idle-stop the game) #set t2(pslow) "25"    ;# slow time between questions (6 to 90 seconds) ## Note: if set to less than play-times &amp; more than 0, slow-times will be same as play ## resting-times or idle-stop #  after this many questions with no one playing the game: ## the times between hints &amp; questions increase to these settings, ## or idle-stop the bogustrivia game. #set t2(rqcnt) "15"   ;# use resting-times or idle-stop after this many not played #set t2(rest) "30"    ;# resting time between hints/questions (6 to 120) (0 = idle-stop the game) ## Note: if set to less than slow-times &amp; more than 0, rest-times will be same as slow #</code></pre></div>Using the example above, <br>setting t2(qslow) to "0" would have the game stopping after no one plays for 6 questions<br>|OR|<br>setting t2(rest) to "0" would have the game stopping after no one plays for 15 questions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Mar 24, 2016 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-24T12:06:09-04:00</updated>

		<published>2016-03-24T12:06:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104838#p104838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104838#p104838"/>
		<title type="html"><![CDATA[BogusTrivia automatic shutdown if no one plays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104838#p104838"><![CDATA[
Dear, <strong class="text-strong">SpiKe^^</strong>:<br>You can modify the script so that the bot turns off automatic if no one is playing for space ..... minutes?<br><br>Regards<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Thu Mar 24, 2016 12:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
