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

	<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-06-17T12:00:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-06-17T12:00:00-04:00</updated>

		<published>2002-06-17T12:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8097#p8097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8097#p8097"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8097#p8097"><![CDATA[
set mask "*!*@[lindex [split $host @] 1]" was the mask with the problem..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 17, 2002 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-06-17T11:36:00-04:00</updated>

		<published>2002-06-17T11:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8096#p8096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8096#p8096"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8096#p8096"><![CDATA[
okay, thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 17, 2002 11:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-06-17T11:26:00-04:00</updated>

		<published>2002-06-17T11:26:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8094#p8094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8094#p8094"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8094#p8094"><![CDATA[
A simple<div class="codebox"><p>Code: </p><pre><code>set mask "*!*@[lindex [split [getchanhost $nick $chan] @] 1]"</code></pre></div>Will split it.<br><br>Look at what each item returns.<br><br>Your example tried to do a split on<br>eg<br>*!*nickname!<a href="mailto:ident@host.name">ident@host.name</a><br>when it should be<br>nickname!<a href="mailto:ident@host.name">ident@host.name</a><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Jun 17, 2002 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-06-17T11:18:00-04:00</updated>

		<published>2002-06-17T11:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8092#p8092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8092#p8092"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8092#p8092"><![CDATA[
well is on channel <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br>what mask to use then to a *!*@ip then? and thanks for the reply.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 17, 2002 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-06-17T08:44:00-04:00</updated>

		<published>2002-06-17T08:44:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8082#p8082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8082#p8082"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8082#p8082"><![CDATA[
set mask "*!*@[lindex [split *!*[getchanhost $nick $chan] @] 1]"<br><br>For one thing, the *!* inside the split command should not be needed, as the getchanhost command will return the full "nick!<a href="mailto:user@host.name">user@host.name</a>" format.<br><br>Second, the user must be on the channel specified, else it will not work.<br><br>Third, snippets of your code are not allways good. As they only show what you think is wrong. They do not show where other variable are set, and what there values are.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Jun 17, 2002 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2002-06-17T05:20:00-04:00</updated>

		<published>2002-06-17T05:20:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8073#p8073</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8073#p8073"/>
		<title type="html"><![CDATA[mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8073#p8073"><![CDATA[
set mask "*!*@[lindex [split *!*[getchanhost $nick $chan] @] 1]"<br><br>Why using this mask sometimes he bans *!*@ ? I get that ban when there is more than 1 nick to be punished.. Any sugestion?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 17, 2002 5:20 am</p><hr />
]]></content>
	</entry>
	</feed>
