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

	<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>2009-08-23T01:14:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-23T01:14:22-04:00</updated>

		<published>2009-08-23T01:14:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90025#p90025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90025#p90025"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90025#p90025"><![CDATA[
Hello,<br><br>Thanks for replay<br><br>but i am confused can some one from you give me in Quote the complete correct code?<br><br><br>Thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Sun Aug 23, 2009 1:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-22T19:50:04-04:00</updated>

		<published>2009-08-22T19:50:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90024#p90024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90024#p90024"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90024#p90024"><![CDATA[
Ok, I understand. I posted my response for TCL_no_TK before I read your input.<br><br>IRC networks come in all flavours and degrees of strangeness I suppose.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Sat Aug 22, 2009 7:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-08-22T19:26:14-04:00</updated>

		<published>2009-08-22T19:26:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90023#p90023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90023#p90023"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90023#p90023"><![CDATA[
<blockquote class="uncited"><div>Needs a bit of work still<br><br>The host of an ircop on DALnet is staff.dalnet</div></blockquote>how does it need work? you simply add <strong class="text-strong">*staff.dalnet*</strong> to the list. This is why it's a list. Your expected to add to it or modify things. Not having used dalnet since they went all "holier than thou" and started to ban any channel not fitting their particular "agenda" (read this as censoring/juping). I left that place in the dust long ago.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Aug 22, 2009 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-22T19:14:06-04:00</updated>

		<published>2009-08-22T19:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90022#p90022</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90022#p90022"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90022#p90022"><![CDATA[
Needs a bit of work still<br><br>The host of an ircop on DALnet is staff.dalnet<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Sat Aug 22, 2009 7:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-08-22T19:07:33-04:00</updated>

		<published>2009-08-22T19:07:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90021#p90021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90021#p90021"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90021#p90021"><![CDATA[
as TCL_no_TK said, this is rather trivial to do, his method just has one small part incorrect which renders it all useless. He uses [set welc(badhost) ident@host], but then uses [string match nick!ident@host ident@host] which will of course never match. To get this to work we either need to change the [set welc(badhost)] section or the [string match]. Instead let's do both so you can use as many hosts as you like. If you use more than 1, seperate each additional with a space.<div class="codebox"><p>Code: </p><pre><code>-- instead ofset welc(badhost) "staff@dal.net"-- useset welc(badhost) "*staff.dal.net *some.network.i-hate.com *lamevhost.com etc*etc.com"</code></pre></div>Then we need to correct the method TCL_no_TK was using within his [string match] check. This time we will iterate over the [split welc(badhost)] list and watch for [string match -nocase *@host ident@host].<div class="codebox"><p>Code: </p><pre><code>-- instead ofif {[string match -nocase "$nick!$uhost" "$welc(badhost)"]} { return }-- useforeach entry [split $welc(badhosts)] {  if {[string match -nocase "*@$entry" $uhost]} { return }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Aug 22, 2009 7:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-08-22T18:25:13-04:00</updated>

		<published>2009-08-22T18:25:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90020#p90020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90020#p90020"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90020#p90020"><![CDATA[
Just add <div class="codebox"><p>Code: </p><pre><code>set welc(badhost) "staff@dal.net"</code></pre></div> in the settings part and add <div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase "$nick!$uhost" "$welc(badhost)"]} { return }</code></pre></div> below <div class="codebox"><p>Code: </p><pre><code>proc givewelcome {nick uhost hand chan} { global welc</code></pre></div> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sat Aug 22, 2009 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-15T12:11:15-04:00</updated>

		<published>2009-08-15T12:11:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89888#p89888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89888#p89888"/>
		<title type="html"><![CDATA[Need to ignore @staff.dalnet]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89888#p89888"><![CDATA[
Hello Friends i need it greet to normal users notany IRCop etc can you guys PLease Turen it to Ignore<strong class="text-strong"> @staff.dalnen</strong><br><br><div class="codebox"><p>Code: </p><pre><code>set welc(msg) "  \002Commands for Public Help\002"set welc(chan) "#BigHosTers" set welc(type) "1" bind join - #BigHosTers* givewelcome proc givewelcome {nick uhost hand chan} { global welc set welctxt $welc(msg) regsub -all "%nick" $welctxt "$nick" welctxt regsub -all "%chan" $welctxt "$chan" welctxt switch $welc(type) { 1 { puthelp "NOTICE $nick :$welctxt"        puthelp "NOTICE $nick :  !info !uptime !vhost !Payment !Eggdrop !Psybnc !Contact !PsyHelp !reseller"        puthelp "NOTICE $nick :  Ask all Questions on Main No Private if someone Invite you to any Company or Channel please let us know the nick Thank you for cooperation"} 2 { puthelp "PRIVMSG $nick :$welctxt" } } } putlog "Egghelp.org" </code></pre></div>the help will be Much appreciate. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Sat Aug 15, 2009 12:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
