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

	<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>2008-09-25T03:41:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Driber]]></name></author>
		<updated>2008-09-25T03:41:59-04:00</updated>

		<published>2008-09-25T03:41:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85274#p85274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85274#p85274"/>
		<title type="html"><![CDATA[log own messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85274#p85274"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putloglev p "#mychan" "&lt;mybot&gt; hello" </code></pre></div>thanks, nml375, that works perfect<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10216">Driber</a> — Thu Sep 25, 2008 3:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-09-23T12:58:08-04:00</updated>

		<published>2008-09-23T12:58:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85257#p85257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85257#p85257"/>
		<title type="html"><![CDATA[log own messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85257#p85257"><![CDATA[
putlog &lt;message&gt;<br><br>In your case, something like this:<div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG #mychan :hello"putlog "#mychan \"hello\""</code></pre></div>That is, you must make sure the message is a single argument, regardless whether it contains spaces or not. To have greater control of where things are logged, use the putloglev command; putloglev &lt;level&gt; &lt;channel&gt; &lt;text&gt;:<div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG #mychan :hello"putloglev p "#mychan" "&lt;mybot&gt; hello"#log the message "&lt;mybot&gt; hello" as public chatter (p) on channel #mychan</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 23, 2008 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Driber]]></name></author>
		<updated>2008-09-23T04:48:15-04:00</updated>

		<published>2008-09-23T04:48:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85253#p85253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85253#p85253"/>
		<title type="html"><![CDATA[log own messages]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85253#p85253"><![CDATA[
I'm trying to write a tcl script that, besides sending text to a channel, also logs that same text to the channel's logfile<br><br>I just need a simple code, something like:<br><br>putserv "PRIVMSG #mychan :hello"<br>putlog #mychan "hello"<br><br>can someone post the correct syntax for the putlog (or putcmdlog or putxferlog or putloglev, whichever works best) command for the example above<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10216">Driber</a> — Tue Sep 23, 2008 4:48 am</p><hr />
]]></content>
	</entry>
	</feed>
