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

	<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>2022-06-03T11:24:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Rash]]></name></author>
		<updated>2022-06-03T11:24:25-04:00</updated>

		<published>2022-06-03T11:24:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111165#p111165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111165#p111165"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111165#p111165"><![CDATA[
Thank you so very much!  This is exactly what I was looking for<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12956">Rash</a> — Fri Jun 03, 2022 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-06-03T03:58:51-04:00</updated>

		<published>2022-06-03T03:58:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111164#p111164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111164#p111164"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111164#p111164"><![CDATA[
Here is a little script:<br><div class="codebox"><p>Code: </p><pre><code>namespace eval logurl {variable db "urldb.db3"setudef flag logurlpackage require sqlite3proc db.open {} {sqlite3 ::logurl::cnx $::logurl::db}proc db.close {} {::logurl::cnx close}proc init {} {::logurl::db.open::logurl::cnx eval {CREATE TABLE IF NOT EXISTS logurl (url TEXT, nick TEXT, firstview DATETIME, cpt INTEGER)}::logurl::cnx eval {CREATE INDEX IF NOT EXISTS iurl ON logurl(url)}::logurl::db.close}bind pubm - * ::logurl::loggerproc logger {nick uhost handle chan text} {if {[isbotnick $nick] } { return }if {![channel get $chan logurl]} { return }if {[regexp -- {(https?:\/\/[^[:space:]]+)} $text match url]} {::logurl::db.openset already [::logurl::cnx eval {SELECT nick, firstview, cpt FROM logurl WHERE url=$url}]putlog $alreadyif {[llength $already]&gt;0} {set unick [lindex $already 0]set dt [lindex $already 1]set cpt [lindex $already 2]incr cptputserv "PRIVMSG $chan :\002$url\002 has already been announced by $unick on [clock format $dt -format "%m-%d-%Y"] and was given $cpt times"::logurl::cnx eval {UPDATE logurl SET cpt=$cpt WHERE url=$url}} else {::logurl::cnx eval {INSERT INTO logurl (url, nick, firstview, cpt) VALUES ($url, $nick, strftime('%s','now'), 1)}}::logurl::db.close}}::logurl::init}</code></pre></div>Think to do <strong class="text-strong">.chanset #channel +logurl</strong> to activate the script on the channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Jun 03, 2022 3:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rash]]></name></author>
		<updated>2022-06-02T20:48:33-04:00</updated>

		<published>2022-06-02T20:48:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111163#p111163</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111163#p111163"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111163#p111163"><![CDATA[
Alright, SQL Lite and libsqlite3-dev libsqlite3-tcl are installed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12956">Rash</a> — Thu Jun 02, 2022 8:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rash]]></name></author>
		<updated>2022-06-02T20:41:49-04:00</updated>

		<published>2022-06-02T20:41:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111162#p111162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111162#p111162"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111162#p111162"><![CDATA[
Oh, I am used to the real world!  Forgot people are real here.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12956">Rash</a> — Thu Jun 02, 2022 8:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-06-02T18:23:10-04:00</updated>

		<published>2022-06-02T18:23:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111161#p111161</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111161#p111161"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111161#p111161"><![CDATA[
WTF ? Where did I speak about money ? Where in this forum did you read about paid helping ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Jun 02, 2022 6:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rash]]></name></author>
		<updated>2022-06-02T20:48:56-04:00</updated>

		<published>2022-06-02T14:17:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111160#p111160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111160#p111160"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111160#p111160"><![CDATA[
I could get them installed without issue.  Where do we go from here?  <span style="color:yellow">PayPal? CashApp? Venmo?</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12956">Rash</a> — Thu Jun 02, 2022 2:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-05-20T05:05:44-04:00</updated>

		<published>2022-05-20T05:05:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111129#p111129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111129#p111129"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111129#p111129"><![CDATA[
It can be easily done with a little database (sqlite).<br>Have you sqlite3 and the corresponding tcl package ?<br><br>If not, it's possible to use a file but it will decrease performances<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri May 20, 2022 5:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Rash]]></name></author>
		<updated>2022-05-18T21:27:58-04:00</updated>

		<published>2022-05-18T21:27:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111118#p111118</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111118#p111118"/>
		<title type="html"><![CDATA[Link/URL Logger Script Request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111118#p111118"><![CDATA[
I am looking for a script that logs urls posted to a channel if someone were to link that again, they get insulted for posting an old link.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12956">Rash</a> — Wed May 18, 2022 9:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
