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

	<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-09-03T08:03:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-03T08:03:49-04:00</updated>

		<published>2002-09-03T08:03:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10384#p10384</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10384#p10384"/>
		<title type="html"><![CDATA[Could it be done better?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10384#p10384"><![CDATA[
What you put is wrong, you have to seek to the beginning before you output. But can I ask, what's the point? heh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Sep 03, 2002 8:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nexus6]]></name></author>
		<updated>2002-09-03T07:31:00-04:00</updated>

		<published>2002-09-03T07:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10381#p10381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10381#p10381"/>
		<title type="html"><![CDATA[Could it be done better?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10381#p10381"><![CDATA[
I mean this part, it could it be shorter?<br>set o_fid [open "spammers.dat" r] <br>gets $o_fid spammerz <br>close $o_fid <br>set o_fid [open "spammers.dat" w] <br>puts $o_fid "[expr $spammerz + 1]" <br>close $o_fid <br># something like <br><br>set o_fid [open "spammers.dat" rw] <br>gets $o_fid spammerz <br>puts $o_fid "[expr $spammerz + 1]" <br>close $o_fid <br># Thanks in advance for any help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1850">Nexus6</a> — Tue Sep 03, 2002 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nexus6]]></name></author>
		<updated>2002-09-02T18:44:45-04:00</updated>

		<published>2002-09-02T18:44:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10367#p10367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10367#p10367"/>
		<title type="html"><![CDATA[Could it be done better?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10367#p10367"><![CDATA[
#Script is based on Notice Detector, it glines for channel notice made by<br>#normal user and increases a number in a file. I didn't do proc which #checks if file exists because it exists and no need to check it all the time<br>#It works for me, i'm just kinda not sure about the part with file. Thanks # any comments<br>bind NOTC - "*<a href="www" class="postlink">www</a>.*" glinen<br>bind NOTC - "*http//*" glinen<br>bind NOTC - "*/server*" glinen <br>set gtime "5d"<br><br>proc glinen {nick uhost handle text dest} { <br> global botnick  gtime<br> if {![validchan $dest]} { retrun 0 } <br> if {[matchattr $nick mf|mf $dest] || [isop $nick $dest] || [isvoice $nick $dest] || [matchattr $nick f|f $dest]} {return 0} <br> if {([isbotnick $nick]) || ([string tolower $nick] == "ChanServ")} {return 0} <br> set sm "*!*[lindex [split $uhost @] 1]" <br> putquick "PRIVMSG OperServ :gline $gtime $sm Auto Gline - spamming" <br>set o_fid [open "spammers.dat" r]<br>   gets $o_fid spammerz<br>close $o_fid<br>set o_fid [open "spammers.dat" w]<br>   puts $o_fid "[expr $spammerz + 1]"<br>close $o_fid <br> return 1 <br>}<br><br>#stats <br>bind pub m !spammers spammers<br>proc spammers {nick host hand chan arg} {<br>global spammerz<br>set o_fid [open "spammers.dat" r]<br>   gets $o_fid spammerz<br>   close $o_fid<br>putserv "PRIVMSG $chan :$spammerz have been caught since bla"<br>}<br>putlog "Loaded Spam Notice Kill by Neuxs6"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1850">Nexus6</a> — Mon Sep 02, 2002 6:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
