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

	<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>2005-12-31T13:03:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-31T13:03:51-04:00</updated>

		<published>2005-12-31T13:03:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58863#p58863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58863#p58863"/>
		<title type="html"><![CDATA[error linux news tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58863#p58863"><![CDATA[
lynx doesn't get executed, or can't retrieve that webpage, therefore <em class="text-italics">res</em> doesn't get set, and since it's used in a condition on the very next line, hence your error<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 31, 2005 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[freebsd]]></name></author>
		<updated>2005-12-31T11:31:38-04:00</updated>

		<published>2005-12-31T11:31:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58859#p58859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58859#p58859"/>
		<title type="html"><![CDATA[error linux news tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58859#p58859"><![CDATA[
<span style="color:cyan"></span><div class="codebox"><p>Code: </p><pre><code># www.linux-on-line.net backend eggdrop script# linuxnews.tcl - requesting and displaying info# Copyright (C) 2003 Sheyh [irc.sheyh.com], www.linux-on-line.net# Greets goes to CoolCold [irc.rea.ru]# $Id: linuxnews.tcl v 1.0 23/07/2003 12:32:15 Sheyh Exp $# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# HOWTo use:# type !news in channel (or you can change it at next line), bot will# diplay news in channel no more than once every 2 hours (noone likes flood),# all other time it will send private notices. lynx is required for script to work.# For any questions please contact me on IRC [irc.sheyh.com] #linuxbind pub - "!news" proc_listnewsproc proc_listnews {nnick uhost hand chan arg} {    putlog "requesting http://linux-on-line.net news"    readnewslist $nnick $chan}set saidtime unixtimeset temp 0set gotpublic 0proc readnewslist {nnick chan} {global saidtimeglobal tempglobal gotpubliccatch {  set res [exec lynx -source http://linux-on-line.net/backend/eggnews.php ] } if { $res == "" } {    putserv "PRIVMSG $chan :can't connect to linux-on-line.net :(."    return  }  set res [split $res \n]  set line ""  for {set i 0} {"[lindex $res $i]" != ""} {  incr i  } {    if {$i &gt; 20} { break }set line ""set line "$line[lindex $res $i]"        set timenow unixtime        set temp_timenow [$timenow]  if { $i != 0 } {  set timediff [expr $temp_timenow - $temp]      if {$timediff &gt; 7200}      {        set gotpublic 1        putserv "PRIVMSG $chan : $line "      } else {       putserv "NOTICE $nnick : $line "      set gotpublic 0         }   } else {   if { $line != "access1granted " } {      putserv "PRIVMSG $chan : hm...looks like i've stolen this script from http://linux-on-line.net/backend/ :( "      break      }   } }if {$gotpublic &gt; 0} {       set saidtime unixtime        set temp [$saidtime] }}&lt;SnowStalker&gt; [15:24] requesting http://linux-on-line.net news&lt;SnowStalker&gt; [15:24] Tcl error [proc_listnews]: can't read "res": no such variable</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6821">freebsd</a> — Sat Dec 31, 2005 11:31 am</p><hr />
]]></content>
	</entry>
	</feed>
