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

	<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>2013-02-16T08:20:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-16T08:20:49-04:00</updated>

		<published>2013-02-16T08:20:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101026#p101026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101026#p101026"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101026#p101026"><![CDATA[
Ok so finally we got to the final version<br>So the scripts works like this:<br><br>If a word/phrases added as spam is said in a channel where the bot and that user is not an voice/op/halfop in the channel the bot will notice all @'s channels about that action. The script also has a backup channel for this kind of notice<br><blockquote class="uncited"><div><blockquote class="uncited"><div>You have to restart the eggdrop when you load my last verson of the script <br>The script will work on all channels that the bot is in <br>You only have to modify the temp(chan) with the channel where you want the bot to send the NOTICE about the spammer <br><br>The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)</div></blockquote>Something like this..<br>Just test the code see if it works and does what you want .. that is what i understand you wanted..</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sat Feb 16, 2013 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-16T07:03:55-04:00</updated>

		<published>2013-02-16T07:03:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101024#p101024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101024#p101024"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101024#p101024"><![CDATA[
<blockquote class="uncited"><div>You have to restart the eggdrop when you load my last verson of the script <br>The script will work on all channels that the bot is in <br>You only have to modify the temp(chan) with the channel where you want the bot to send the NOTICE about the spammer <br><br>The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)</div></blockquote>Something like this..<br>Just test the code see if it works and does what you want .. that is what i understand you wanted..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sat Feb 16, 2013 7:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-16T07:02:01-04:00</updated>

		<published>2013-02-16T07:02:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101023#p101023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101023#p101023"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101023#p101023"><![CDATA[
I noticed that you changed the code, what have you added?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Sat Feb 16, 2013 7:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-15T18:44:43-04:00</updated>

		<published>2013-02-15T18:44:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101017#p101017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101017#p101017"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101017#p101017"><![CDATA[
You have to restart the eggdrop when you load my last verson of the script<br>The script will work on all channels that the bot is in<br>You only have to modify the <strong class="text-strong">temp(chan)</strong> with the channel where you want the bot to send the NOTICE about the spammer<br><br>The BOT will NOTICE all nicknames that are OPPED (@) in $temp(chan)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Fri Feb 15, 2013 6:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-15T18:42:15-04:00</updated>

		<published>2013-02-15T18:42:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101016#p101016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101016#p101016"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101016#p101016"><![CDATA[
There is a small problem, the channel for the notification does not go well. The user himself that "spams" is on channel # try and set the channel is set temp (chan) "blue"<br>notice is reported in the blue channel<br>(23:36:04)-ChanStats: # blue - User_1541 Reporting Spam =&gt; # Canalea<br><br>It would be convenient to make also the operation of the first, that do work for all channels, if it is possible.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Fri Feb 15, 2013 6:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-15T17:58:55-04:00</updated>

		<published>2013-02-15T17:58:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101014#p101014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101014#p101014"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101014#p101014"><![CDATA[
Thank you, you're very kind.<br>It is already a small goal, it gets the notice to the moderators (@ aop), the piloted channels where there is the BOT.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Fri Feb 15, 2013 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-15T17:48:48-04:00</updated>

		<published>2013-02-15T17:48:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101012#p101012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101012#p101012"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101012#p101012"><![CDATA[
I modifyed the code in the old post to work on all channel and i added the condition so that an aop (user with op in the channel) says something like http:// or anything else  that is added as a spam word/phrase will be ignored<br><br>And about the IRC OPS part i don`t know.. that part is tricky to send only does nicknames a NOTICE they could just join the channel were the notice is sent (thats the easiest way for the eggdrop and everyone else)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Fri Feb 15, 2013 5:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-15T17:43:26-04:00</updated>

		<published>2013-02-15T17:43:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101010#p101010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101010#p101010"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101010#p101010"><![CDATA[
Thank you, notice the work .. but we should now put the condition that a moderator (aop), the recipient of the notice and the IRC OPS (+ o + O)<br><br>If you can, run in all channels where the BOT<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Fri Feb 15, 2013 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-16T08:15:31-04:00</updated>

		<published>2013-02-15T17:15:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101009#p101009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101009#p101009"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101009#p101009"><![CDATA[
Try this<br><br>Just change the first #channel with the channel you want the script to work in and #channel-notice to the channel you want the bot to send a notice with the nickname and the arguments that the nick said<br><br><div class="codebox"><p>Code: </p><pre><code>bind PUBM - * check:pubmset temp(chan) "#channel-notice"set temp(spam) {"http://""#"}proc check:pubm {nick uhost hand chan arg} {global tempif {[isbotnick $nick] || [isop $nick $chan] || [isvoice $nick $chan] || [ishalfop $nick $chan]} { return }foreach a $temp(spam) {if {[string match -nocase *$a* $arg]} {## ++ current channelforeach a [chanlist $chan] {if {[isop $a $chan]} {putserv "NOTICE $a :$nick said $arg"}}## ++ backup channelif {[validchan $temp(chan)]} {foreach b [chanlist $temp(chan)] {if {[isop $b $temp(chan)]} {putserv "NOTICE $b :$nick said $arg"}}}}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Fri Feb 15, 2013 5:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-15T16:46:34-04:00</updated>

		<published>2013-02-15T16:46:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101008#p101008</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101008#p101008"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101008#p101008"><![CDATA[
Ok.<br>When the user says "come on # channel" or "http://" or "www" (this should be in a list type bind pubm - "* http:// *").<br>The task of the BOT is in sending a notice to the moderator, where the channel is the "message" of spam, and another notice to IRC OPS.<br>for example (notice): (21:45:08)-BOTNAME @ # chan-Spam Reporting =&gt; &lt;nick&gt; <a href="http://www.website.org" class="postlink">http://www.website.org</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Fri Feb 15, 2013 4:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-15T15:18:10-04:00</updated>

		<published>2013-02-15T15:18:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101007#p101007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101007#p101007"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101007#p101007"><![CDATA[
Can you give more specific things about how the script should work? And how  will the BOT know who is irc operator or not. Give some exact examples<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Fri Feb 15, 2013 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TuSaiChi]]></name></author>
		<updated>2013-02-16T08:19:35-04:00</updated>

		<published>2013-02-15T15:01:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101006#p101006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101006#p101006"/>
		<title type="html"><![CDATA[Notice spam [ Resolved ]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101006#p101006"><![CDATA[
Hi, I am interested in a tcl script that, based on the letters you do not like (spam) from a specific list. the eggdrop send a notice to the moderators (aop) of chan where it is, and also to the IRCOPS network.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12195">TuSaiChi</a> — Fri Feb 15, 2013 3:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
