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

	<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-03-05T03:00:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-03-05T03:00:51-04:00</updated>

		<published>2014-03-05T03:00:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102657#p102657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102657#p102657"/>
		<title type="html"><![CDATA[Show previous nicknames on connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102657#p102657"><![CDATA[
Hi,<br><br>you have 4 options to get this done: store in memory (via <a href="http://www.tcl.tk/man/tcl8.6/TclCmd/dict.htm" class="postlink">dict</a> or <a href="http://www.tcl.tk/man/tcl8.6/TclCmd/array.htm" class="postlink">array</a> for instance, but I wouldn't recommended), in a flat text file (you need to make your own seeking of the IP or whatever info you want to read), a MySQL database (via <a href="http://www.xdobry.de/mysqltcl/" class="postlink">mysqltcl library</a>) or a sqlite local database (via <a href="https://www.sqlite.org/tclsqlite.html" class="postlink">sqlite library</a>) that doesn't need a MySQL server cos it writes it's stuff in a file.<br><br>I would honestly pick one of the last two, preferably the MySQL version.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2014 3:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AlexF]]></name></author>
		<updated>2014-03-04T16:45:54-04:00</updated>

		<published>2014-03-04T16:45:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102655#p102655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102655#p102655"/>
		<title type="html"><![CDATA[Show previous nicknames on connect]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102655#p102655"><![CDATA[
Hi<br><br>I am owner of quite a large network (0000's) and I'm in the middle of converting some of our utility bots that are currently mIRC based in to TCL to run on eggdrop.<br><br>I've picked up the basics but there are some more complicated scripts that I've written in mSC that I can't figure in TCL.<br><br>One I'm stuck on is we have a bot that has OPER on the server and monitors connects in server notices. An example of a server notice:<br><blockquote class="uncited"><div>&lt;- :CHAT04. NOTICE Port_4 :*** CONNECT: Client connecting on port 6667 (class users): SomeUser!Female@1.2.3.4 (1.2.3.4) [18 Female Canada]</div></blockquote>It then logs the nickname against the IP address and shows previously nicknames for that IP address in a specified channel, example:<br><blockquote class="uncited"><div>&lt;!Port_4&gt; Client SomeUser connecting from 1.2.3.4. Previous nicknames this user has connected with: AnotherUser1, AnotherUser2, AnotherUser3</div></blockquote>Can someone provide an example of such thing in TCL please?<br><br>Thanks<br><br>AlexF<br><br><span style="color:red">Moderator edit: don't post real IPs.</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12353">AlexF</a> — Tue Mar 04, 2014 4:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
