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

	<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-20T10:35:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-20T10:35:02-04:00</updated>

		<published>2002-09-20T10:35:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11168#p11168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11168#p11168"/>
		<title type="html"><![CDATA[Error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11168#p11168"><![CDATA[
The file has been opened read only.<br><br>You need to close the fle after reading it, then re-open it in write mode.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 20, 2002 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nexus6]]></name></author>
		<updated>2002-09-20T10:21:17-04:00</updated>

		<published>2002-09-20T10:21:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11165#p11165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11165#p11165"/>
		<title type="html"><![CDATA[Error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11165#p11165"><![CDATA[
This script should send a msg to Operserv when gets spam strings via priv and should increase number of spammers caught in a file.<br>it doesn't work. It send a msg and everything is ok but it but couting is messed up <br>(TestBot) [04:18] TCL error [glinem]: channel "file11" wasn't opened for writing<br># Privmsg BINDS<br>bind msgm - "*<a href="www" class="postlink">www</a>.*" glinem<br>bind msgm - "*http//*" glinem<br>bind msgm - "*/server*" glinem <br><br># Gline time in format Xd -days Xh -hours Xm -mins, Xs - seconds<br>set gtime "5d"<br><br>#PrivMsg gline proc<br>proc glinem {nick uhost handle text} {<br>global botnick gtime <br>if {[matchattr $nick f]} {return 0} <br>if {([isbotnick $nick]) || ([string tolower $nick] == "ChanServ")} {return 0} <br>set smm "*@[lindex [split $uhost @] 1]" <br>putquick "PRIVMSG Operserv :gline $gtime $smm Auto Gline - spamming" <br>set o_fid [open "spammers.dat" "RDONLY"]<br>   gets $o_fid spammerz<br>   puts $o_fid "[expr $spammerz + 1]"<br>close $o_fid <br> return 1 <br>}<br><br># Stats Area<br>bind pub m !spammers spammers<br>proc spammers {nick host hand chan arg} {<br>global spammerz<br>set o_fid [open "spammers.dat" "RDONLY"]<br>   gets $o_fid spammerz<br>   close $o_fid<br>putserv "PRIVMSG $chan :$spammerz have been caught since bla"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1850">Nexus6</a> — Fri Sep 20, 2002 10:21 am</p><hr />
]]></content>
	</entry>
	</feed>
