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

	<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-04-19T21:18:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[bradleylauchlin]]></name></author>
		<updated>2008-04-19T21:18:40-04:00</updated>

		<published>2008-04-19T21:18:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82429#p82429</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82429#p82429"/>
		<title type="html"><![CDATA[Looking for a brief history bot. Record and display 10 lines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82429#p82429"><![CDATA[
Thanks, modified it a bit for my bot, and it works perfectly. Thanks for the hand.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9861">bradleylauchlin</a> — Sat Apr 19, 2008 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-04-15T09:12:05-04:00</updated>

		<published>2008-04-15T09:12:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82324#p82324</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82324#p82324"/>
		<title type="html"><![CDATA[Looking for a brief history bot. Record and display 10 lines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82324#p82324"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "#channel *" record:linesbind join - "#channel *" notice:linesset last10Lines [list]proc record:lines {nick uhost hand chan arg} { global last10Lines lappend last10Lines "&lt;$nick&gt; $arg" if {[llength $last10Lines] &gt; 10} {  set last10Lines [lrange $last10Lines end-9 end] }}proc notice:lines {nick uhost hand chan} { global last10Lines foreach line $last10Lines {  puthelp "notice $nick :$line" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Apr 15, 2008 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bradleylauchlin]]></name></author>
		<updated>2008-04-14T20:06:22-04:00</updated>

		<published>2008-04-14T20:06:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82311#p82311</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82311#p82311"/>
		<title type="html"><![CDATA[Looking for a brief history bot. Record and display 10 lines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82311#p82311"><![CDATA[
Hi, I am looking to add a script to my bot where it records the last 10 lines from the conversation and then will message, or notice them to a user when they join the channel so that they know what is going on, and are not completely oblivious to the converstation going on as they enter.<br><br>I am fairly new to TCL scripting and can do basic stuff, but am not sure how to best approach this. If someone could get me started that would be great. Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9861">bradleylauchlin</a> — Mon Apr 14, 2008 8:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
