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

	<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>2003-07-12T14:52:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-12T14:52:04-04:00</updated>

		<published>2003-07-12T14:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23383#p23383</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23383#p23383"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23383#p23383"><![CDATA[
thanx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I understood that.<br>but I have found another script in the tcl archibe <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 12, 2003 2:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-12T14:47:44-04:00</updated>

		<published>2003-07-12T14:47:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23381#p23381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23381#p23381"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23381#p23381"><![CDATA[
Well the set dest thing should be placed right before the place you get the host and place the ban (set banmask "*!*@[lindex [split $uhost @] 1]"). As for the *host check* use this:<div class="codebox"><p>Code: </p><pre><code>if {[string match "*.dal.net" $uhost]} { return 0 }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jul 12, 2003 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-12T05:00:08-04:00</updated>

		<published>2003-07-12T05:00:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23355#p23355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23355#p23355"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23355#p23355"><![CDATA[
also when there is a server notice the bot bans *!*@*<br>like for example:<blockquote class="uncited"><div> · · [ kernel.ga.us.dal.net (@#channel) ] ChanServ invited User into channel #channel.<br> . . ChanMode: Botnick sets mode [ +b ] *!*@*<br> . . ChanMode: Botnick sets mode [ -bo ] *!*@* Botnick</div></blockquote>I tried to add <strong class="text-strong">if {([string match $nick "*.dal.net"])} { return 0 }</strong><br>but it didn't work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 12, 2003 5:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-12T04:47:05-04:00</updated>

		<published>2003-07-12T04:47:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23354#p23354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23354#p23354"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23354#p23354"><![CDATA[
thanx, now no <strong class="text-strong">illegal channel @#channel</strong>. but the <strong class="text-strong">illegal channel botnick</strong> is back.<br><br>note: I removed the first code u gave me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jul 12, 2003 4:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-12T04:07:12-04:00</updated>

		<published>2003-07-12T04:07:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23352#p23352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23352#p23352"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23352#p23352"><![CDATA[
Then use:<div class="codebox"><p>Code: </p><pre><code>set dest [string trim $dest @]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jul 12, 2003 4:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T19:09:01-04:00</updated>

		<published>2003-07-11T19:09:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23344#p23344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23344#p23344"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23344#p23344"><![CDATA[
well notices to the bot return.<br>but onotices:<br>[16:06] Tcl error [NoticeBan]: illegal channel: @#channel<br><br>thanx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-11T18:09:50-04:00</updated>

		<published>2003-07-11T18:09:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23340#p23340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23340#p23340"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23340#p23340"><![CDATA[
Use this:<div class="codebox"><p>Code: </p><pre><code>if {[lindex [split $dest "@"] 0] == $::botnick || [string index $dest 0]== "@"} { return }</code></pre></div>to return when is an onotice or notice sent to the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jul 11, 2003 6:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T17:45:12-04:00</updated>

		<published>2003-07-11T17:45:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23338#p23338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23338#p23338"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23338#p23338"><![CDATA[
well the network settings are all correct.<br>actually the error isn't so harmfull.<br>but sometime the errors appears like invalid channel Bot (supposing that "bot" is the bot's nick)<br>or invalid channel @#channel ...etc<br><br>so is there a way to make that not appear ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 5:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-11T17:11:16-04:00</updated>

		<published>2003-07-11T17:11:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23336#p23336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23336#p23336"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23336#p23336"><![CDATA[
first of... $dest is not always a channel... it can also be the bot itself<br>as for the error, it doesn't looks like it supports @ infront of channelnames, make sure you have the correct network-type set in the configfile, if it still gives errors just strip the @ of the channel before processing it further<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jul 11, 2003 5:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-11T13:02:31-04:00</updated>

		<published>2003-07-11T13:02:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23322#p23322</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23322#p23322"/>
		<title type="html"><![CDATA[[09:52] Tcl error [NoticeBan]: illegal channel: @#channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23322#p23322"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind NOTC - * NoticeBanproc NoticeBan {nick uhost handle text dest} {global botnickif {[isop $nick $dest]} {return 0}if {![botisop $dest]} { return 0 }if {[isvoice $nick $dest]} {return 0}if {([isbotnick $nick]) || ([string match $nick "ChanServ"])} {return 0}                                     set banmask "*!*@[lindex [split $uhost @] 1]"putserv "KICK $dest $nick :Notice Not Allowed - Consider yourself Banned."putquick "MODE $dest +b $banmask"return 1}</code></pre></div>what should be fixed so the error <strong class="text-strong">[NoticeBan]: illegal channel: @#channel</strong> wouldn't appear.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 11, 2003 1:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
