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

	<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-06-20T03:23:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-19T22:31:28-04:00</updated>

		<published>2005-06-19T22:31:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51102#p51102</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51102#p51102"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51102#p51102"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>heh i looked at spambuster, that is way over what i need - it's got all the bells and whistles, but what i'm after is just something plain and simple <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>Yay! Someone else that believes in the KISS (Keep It Simple Stupid) principle.<br><br><span style="color:brown">* Alchera is happy</span></div></blockquote>well, once you bother to read through spambuster's configuration settings, you are supposed to figure out how to use it in KISS mode <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jun 19, 2005 10:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-06-19T20:20:14-04:00</updated>

		<published>2005-06-19T20:20:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51098#p51098</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51098#p51098"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51098#p51098"><![CDATA[
<blockquote class="uncited"><div>heh i looked at spambuster, that is way over what i need - it's got all the bells and whistles, but what i'm after is just something plain and simple <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>Yay! Someone else that believes in the KISS (Keep It Simple Stupid) principle.<br><br><span style="color:brown">* Alchera is happy</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Jun 19, 2005 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tashie]]></name></author>
		<updated>2005-06-13T03:55:17-04:00</updated>

		<published>2005-06-13T03:55:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50708#p50708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50708#p50708"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50708#p50708"><![CDATA[
heh i looked at spambuster, that is way over what i need - it's got all the bells and whistles, but what i'm after is just something plain and simple <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6347">Tashie</a> — Mon Jun 13, 2005 3:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-06-13T03:44:08-04:00</updated>

		<published>2005-06-13T03:44:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50704#p50704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50704#p50704"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50704#p50704"><![CDATA[
you need <a href="http://demond.net/spambuster.tcl" class="postlink">spambuster</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jun 13, 2005 3:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-06-20T03:23:40-04:00</updated>

		<published>2005-06-13T03:41:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50702#p50702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50702#p50702"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50702#p50702"><![CDATA[
This is very easy indeed. We can match triggers through a list -- using files is harder, as you have done in your mIRC coded remote.<br><br>For colors, we can strip the text and then go ahead and proceed analyzing it. I assume you are using eggdrop1.6.17, so you can use "stripcodes" to be of help -- tcl-commands.doc, else you will have to use a 'regsub' or 'string map' to filter out the codes. Search on the forum a filter by ppslim and you will get it.<br><div class="codebox"><p>Code: </p><pre><code>on *:TEXT:*/w*/w*/w*/*,*/K*/i*/r*/a*/z*,*/T*/k/*:?:{#I am not sure how these triggers work, but anyway lets proceed</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#Set private message triggers hereset spamdetecttriggers {"*/w*""*/K*""*/k*""*/i*""*/r*""*/a*""*/z*""*/T*""*/*"}#Set the channel to relay the spam message onset spamrelaychan "#yourchannel"#Set the trigger to make the bot join a channelset spamchanaddtrigger "!add"#Set the trigger to make the bot leave a channelset spamchandeltrigger "!del"###END OF SETTINGS###bind msgm - "*" detect:spambind pub n $spamchandeltrigger del:chanbind pub n $spamchanaddtrigger add:chanproc detect:spam {nick uhost hand text} { global spamdetecttriggers  foreach trigger $spamdetecttriggers {   if {[string match $trigger [stripcodes bcruag $text]]} {    break; report:spam $nick $uhost $text    }  }} proc report:spam {nick uhost text} { global spamrelaychan  if {[botonchan $spamrelaychan]} {   putquick "PRIVMSG $spamrelaychan :$nick!$uhost MSG ($text)" -next   }}proc add:chan {nick uhost hand chan text} { channel add [lindex [split $text] 0]}proc del:chan {nick uhost hand chan text} { if {[botonchan [lindex [split $text] 0]]} {  channel remove [lindex [split $text] 0]}</code></pre></div>If you want complex matching, regular expression matching "regexp" can be also used, but for that I need some sample outputs for spam text messages you want to detect.<br><br>I released a script similar to a one you desire -- a year ago, it is more effective and utilizes 2 bots, they don't need to be also linked together. Here is the link you can download and give it a go:<br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=978" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=978</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jun 13, 2005 3:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Tashie]]></name></author>
		<updated>2005-06-13T03:08:04-04:00</updated>

		<published>2005-06-13T03:08:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50689#p50689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50689#p50689"/>
		<title type="html"><![CDATA[Help for a tcl to relay spam to a channel of choice - thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50689#p50689"><![CDATA[
I'm trying to find something that will relay spam messages to a channel of my choice. There seem to be alot of spam busting scripts out there that are a little more "high powered" than i'm actually requiring.<br><br>Basically i'd like a seperate file of particular strings of text that the script would look at, see if it's comparable to the spam msg, and if it is be able to relay it to a channel name that i can set.<br><br>So far i'm using a mIRC script to relay for me, which isn't as satisfactory as an eggdrop eg.<br><br>on *:TEXT:*/w*/w*/w*/*,*/K*/i*/r*/a*/z*,*/T*/k/*:?: { msg #channelname $fulladdress MSG $1- | echo -s $nick $address $1- | close -m $nick }  <br><br>The strings of text are many and varied, the spammers try to hide their urls with colour codes and control characters. <br><br>The bot would be more of a floating bot, joining channels that i request it to monitor rather than a channel protection bot, plus it would be lovely to tell the bot to add a new string to the file on the fly.<br><br>I'm afraid i dont know much about coding this sort of script myself, it's rather out of my league but would be very grateful to anyone that has the time to either hash something together for me or point me in the right direction.<br><br>Cheers <br><br>Tashie - DALnet<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6347">Tashie</a> — Mon Jun 13, 2005 3:08 am</p><hr />
]]></content>
	</entry>
	</feed>
