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

	<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>2002-12-19T19:16:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-19T19:16:24-04:00</updated>

		<published>2002-12-19T19:16:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14432#p14432</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14432#p14432"/>
		<title type="html"><![CDATA[when true -&gt; print putserv-line1 then 2 then 3 and so on]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14432#p14432"><![CDATA[
Have you commented out the top putsefv line, to confirm only the first one is triggered.<br><br>This is likely due to the message duplication removal.<br><br>DO the $resultX (where X is a number) variable contain the same text or different.<br><br>See you config file for information on allowing duplicate lines.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Dec 19, 2002 7:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-12-19T16:33:19-04:00</updated>

		<published>2002-12-19T16:33:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14430#p14430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14430#p14430"/>
		<title type="html"><![CDATA[when true -&gt; print putserv-line1 then 2 then 3 and so on]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14430#p14430"><![CDATA[
Hi,<br><br>I made a script which has 2 variables per putserv line. One variable from this two is always a date (eg Dec 19). Now I want to check if the variable I get is true with the current date. when yes the putserv line should be printed.<br><div class="codebox"><p>Code: </p><pre><code>proc pub:testscript {nick host hand chan arg} {&lt;snap&gt;(the whole set for the variables)if {$date0==[clock format [clock seconds] -format "%b %d"]} {putserv "PRIVMSG $chan :\0031,15$date0 $report0\003"if {$date1==[clock format [clock seconds] -format "%b %d"]} {putserv "PRIVMSG $chan :\0031,15$date1 $report1\003"if {$date2==[clock format [clock seconds] -format "%b %d"]} {putserv "PRIVMSG $chan :\0031,15$date2 $report2\003"if {$date3==[clock format [clock seconds] -format "%b %d"]} {putserv "PRIVMSG $chan :\0031,15$date3 $report3\003"}}}} else {putserv "PRIVMSG $chan :\0031,15 No data for \00312,15[clock format [clock seconds] -format "%b %d"]\0031,15\003"}}</code></pre></div>So it doesn't work. I always only get <strong class="text-strong">one putserv line</strong> although there are eg 3 variables with the same/correct date. How do I have to changes this code that I get the two other variables too (in this example)?<br><br>Thanks<br>Heart<p>Statistics: Posted by Guest — Thu Dec 19, 2002 4:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
