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

	<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-10-25T01:50:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-10-25T01:50:47-04:00</updated>

		<published>2002-10-25T01:50:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12346#p12346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12346#p12346"/>
		<title type="html"><![CDATA[Free mail script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12346#p12346"><![CDATA[
Some years ago I made a similar shell script. You can find it here:<br><br><a href="http://www.coderz.gr/guestREAD.php?CAT=coding&amp;id=3" class="postlink">http://www.coderz.gr/guestREAD.php?CAT=coding&amp;id=3</a><p>Statistics: Posted by Guest — Fri Oct 25, 2002 1:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-29T14:32:37-04:00</updated>

		<published>2002-09-29T14:32:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11501#p11501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11501#p11501"/>
		<title type="html"><![CDATA[Free mail script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11501#p11501"><![CDATA[
I made this script to email the log of the channel I have my eggdrop running in, to some people in my clan.<br>You can email a few people the log with a Personal subject with the Date on it.<br>I call it chatmail.pl<br><br>Requires Perl<br><div class="codebox"><p>Code: </p><pre><code>#!/usr/bin/perl -w#Created by Erik Mathis: erik@fluidgravity.com 09/02# Insert Email address here, dont forget to add the "\" before the "@"@addr=("change\@this.now","email2\@this.now");# Path to the log you want to email, insert "\" for each "/" and "\" before each"."$path="\/home\/eggdrop\/eggdrop\/logs\/channelname\.log\.yesterday";#Your subject text here, this will be appened with the date after it, you may have to use "_" for spaces$sub="replace_this";#Date/Time formatting@Months=('January','February','March','April','May','June','July','August','September','October','November','December')@WeekDays=('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');($Sec,$Min,$Hour,$Day,$Month,$Year,$Week_Day) = (localtime);$Year += 1900;if ($Sec  &lt; 10) { $Sec = "0".$Sec; }if ($Min  &lt; 10) { $Min = "0".$Min; }if ($Hour &lt; 10) { $Hour = "0".$Hour; }if ($Day &lt; 10) { $Day = "0".$Day; }#Setting Subject Line$subject="$sub,_$WeekDays[$Week_Day]_$Months[$Month]_$Day,$Year";#Sending Mailforeach $email (@addr) {system "mail $email -s $subject &lt; $path";}</code></pre></div><p>Statistics: Posted by Guest — Sun Sep 29, 2002 2:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
