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

	<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>2014-07-06T14:04:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2014-07-06T14:04:22-04:00</updated>

		<published>2014-07-06T14:04:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102967#p102967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102967#p102967"/>
		<title type="html"><![CDATA[Change from private message to public channel (BogusTrivia)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102967#p102967"><![CDATA[
daigo,<br> <br>First off, I agree completely with willyw.<br>It would be better to just remove the irc mode that is disabling private message from yourself &amp; the trivia bot.<br>Anything else forces us to try modifying BogusTrivia.<br><br>That being said, I have worked up an untested public .add\.mix patch for BogusTrivia.<br>This should disable the private message .add &amp; .mix commands and create public .add &amp; .mix commands.<br>You will need to edit your t-2.tcl file as follows:<br><br>Step #1<br>On or about line 3224, find this line of code...<div class="codebox"><p>Code: </p><pre><code>bind msgm $t2(mflag) y* TReply  ;  bind msgm $t2(mflag) n* TReply</code></pre></div>and replace that line with this code...<div class="codebox"><p>Code: </p><pre><code>bind pubm $t2(mflag) y* TPubReply  ;  bind pubm $t2(mflag) n* TPubReply</code></pre></div>Step #2<br>On or about line 3582, find this line of code...<div class="codebox"><p>Code: </p><pre><code>unbind msgm $t2(mflag) $trgr* TReply</code></pre></div>and replace that line with this code...<div class="codebox"><p>Code: </p><pre><code>unbind pubm $t2(mflag) $trgr* TPubReply</code></pre></div>Step #3<br>On or about line 671, find these 3 lines of code...<div class="codebox"><p>Code: </p><pre><code>if {$t2(m-cmdpre) ne "."} {  bind msgm $t2(mflag) $t2(m-cmdpre)add* TAdd  bind msg $t2(mflag) $t2(m-cmdpre)mix TMix} else {  bind msgm $t2(mflag) .add* TAdd  ;  bind msg $t2(mflag) .mix TMix  }</code></pre></div>and replace those 3 lines with this code...<div class="codebox"><p>Code: </p><pre><code>bind pubm $t2(mflag) $t2(m-cmdpre)add* TPubAddbind pub $t2(mflag) $t2(m-cmdpre)mix TPubMixproc TPubAdd {nk uh hn ch tx} {  TAdd $ch $uh $hn $tx  return 0}proc TPubMix {nk uh hn ch tx} {  TMix $ch $uh $hn $tx  return 0}proc TPubReply {nk uh hn ch tx} {  TReply $ch $uh $hn $tx  return 0}</code></pre></div>Step #4<br>Save the file, Upload the patched file to the bot, and Rehash to load the patch.<br><br><br>Notes:<br>Line numbers reference BogusTrivia 2.06.4.6 (patch should work on other versions).<br>New public .add/.mix commands use the original .add/.mix settings for flags &amp; command prefix.<br><br>Please let me know how it works out for you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sun Jul 06, 2014 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-07-01T21:03:14-04:00</updated>

		<published>2014-07-01T21:03:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102961#p102961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102961#p102961"/>
		<title type="html"><![CDATA[Change from private message to public channel (BogusTrivia)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102961#p102961"><![CDATA[
As I told you in IRC chat, do<br>/mode your_nick<br>and see what the reply is.  Perhaps there are some user mode flags set by default upon log in.   You may have to visit their website or something to find out the meaning of any that you find.<br><br>For some reason unknown to me, you simply stopped responding there.  <br>Maybe you had some emergency pop up?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jul 01, 2014 9:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[daigo]]></name></author>
		<updated>2014-07-01T13:02:41-04:00</updated>

		<published>2014-07-01T13:02:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102959#p102959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102959#p102959"/>
		<title type="html"><![CDATA[Change from private message to public channel (BogusTrivia)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102959#p102959"><![CDATA[
It is the twitch.tv IRC network.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12410">daigo</a> — Tue Jul 01, 2014 1:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2014-07-01T08:17:50-04:00</updated>

		<published>2014-07-01T08:17:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102957#p102957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102957#p102957"/>
		<title type="html"><![CDATA[Re: Change from private message to public channel (BogusTriv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102957#p102957"><![CDATA[
<blockquote class="uncited"><div>The IRC network I am on has private messages, notices, etc. disabled, so I cannot control the BogusTrivia script on there via PM to the bot. ....</div></blockquote>Before you get into all that, try to find out exactly what the IRC network is doing to accomplish this.<br><br>I have bots on one IRC network that blocks CTCP, for example.  Upon further investigation, it is merely a default setting - a user mode flag that is applied to every login.   The solution was simple then : simply toggle it off, upon every time the bot logs in.<br><br>What network is it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jul 01, 2014 8:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[daigo]]></name></author>
		<updated>2014-06-30T18:15:00-04:00</updated>

		<published>2014-06-30T18:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102956#p102956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102956#p102956"/>
		<title type="html"><![CDATA[Change from private message to public channel (BogusTrivia)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102956#p102956"><![CDATA[
The IRC network I am on has private messages, notices, etc. disabled, so I cannot control the BogusTrivia script on there via PM to the bot. Is there a way I can edit the script so that everything is done via public channel instead of private messaging the bot?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12410">daigo</a> — Mon Jun 30, 2014 6:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
