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

	<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>2020-01-18T00:40:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-01-18T00:40:44-04:00</updated>

		<published>2020-01-18T00:40:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107987#p107987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107987#p107987"/>
		<title type="html"><![CDATA[script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107987#p107987"><![CDATA[
<blockquote class="uncited"><div>...<br>Actually it did exactly what we were looking for (11:05:42] * BarBot sets mode: +b *!*@89.249.65.30)<br></div></blockquote>Ok.  I'm glad you're getting the ban you wanted then.   Apparently the irc server does some interpreting of what is sent to it, and adds the leading *!*@ on it's own.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Jan 18, 2020 12:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarGuy]]></name></author>
		<updated>2020-01-17T21:16:18-04:00</updated>

		<published>2020-01-17T21:16:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107986#p107986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107986#p107986"/>
		<title type="html"><![CDATA[script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107986#p107986"><![CDATA[
<blockquote class="uncited"><div>However, the code you've posted won't produce what you asked for.<br><br>... so its a ban like *@123.456.789 ...<br><br><br>It will produce just the part to the right of the @ .<br><br>If you want a banmask like :<br>*!*@something.something<br>then there are a couple ways to achieve it.</div></blockquote>Actually it did exactly what we were looking for (11:05:42] * BarBot sets mode: +b *!*@89.249.65.30)<br><br>But thanks for the additional help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12815">BarGuy</a> — Fri Jan 17, 2020 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-01-17T14:24:08-04:00</updated>

		<published>2020-01-17T14:24:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107985#p107985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107985#p107985"/>
		<title type="html"><![CDATA[script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107985#p107985"><![CDATA[
<blockquote class="uncited"><div>got it figured out...<br><br>added<br>set banmask [lindex [split $uhost "@"] 1]<br>and changed $umask to $banmask</div></blockquote>It depends on what you need and/or are satisfied with.   If you've got it to suit you, all well and good.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>However, the code you've posted won't produce what you asked for.<blockquote class="uncited"><div>... so its a ban like *@123.456.789 ...</div></blockquote>It will produce just the part to the right of the @ .<br><br>If you want a banmask like :<br>*!*@something.something<br>then there are a couple ways to achieve it.<br><br>Play with this in some test channel of yours.   It will make the difference real clear.   Then decide what you want / need.    <br><br><div class="codebox"><p>Code: </p><pre><code>## Jan. 17, 2020## http://forum.egghelp.org/viewtopic.php?t=20704#######bind pub - "!foo" mask_host_experimentproc mask_host_experiment {nick uhost handle chan text} {        putserv "privmsg $chan : "        putserv "privmsg $chan :nick is: $nick - - - uhost is: $uhost "        putserv "privmsg $chan : "        set banmask [lindex [split $uhost "@"] 1]        putserv "privmsg $chan :banmask is: $banmask"        putserv "privmsg $chan : "          set another_banmask [maskhost $nick!$uhost 2]        putserv "privmsg $chan :another_banmask is: $another_banmask "}</code></pre></div>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jan 17, 2020 2:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarGuy]]></name></author>
		<updated>2020-01-17T11:58:04-04:00</updated>

		<published>2020-01-17T11:58:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107984#p107984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107984#p107984"/>
		<title type="html"><![CDATA[script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107984#p107984"><![CDATA[
got it figured out...<br><br>added<br>set banmask [lindex [split $uhost "@"] 1]<br>and changed $umask to $banmask<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12815">BarGuy</a> — Fri Jan 17, 2020 11:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2020-01-17T00:04:59-04:00</updated>

		<published>2020-01-17T00:04:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107983#p107983</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107983#p107983"/>
		<title type="html"><![CDATA[Re: script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107983#p107983"><![CDATA[
<blockquote class="uncited"><div>... how can I change that ban type so its a ban like *@123.456.789</div></blockquote><br>Visit :<br><a href="https://docs.eggheads.org/mainDocs/tcl-commands.html#maskhost-nick-user-host-masktype" class="postlink">https://docs.eggheads.org/mainDocs/tcl- ... t-masktype</a><br><br>and see if the command and info describing it found there is helpful to you.<br><br>Experiment with it some.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jan 17, 2020 12:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarGuy]]></name></author>
		<updated>2020-01-16T21:42:50-04:00</updated>

		<published>2020-01-16T21:42:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107982#p107982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107982#p107982"/>
		<title type="html"><![CDATA[script command to ban a wildcard ident and its host]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107982#p107982"><![CDATA[
so Im using script to ban someone who is on a ramage for some reason... the script Im using was banning the nick, but I changed it to ban the host ---&gt; putquick "MODE $chan +b $uhost" &lt;--- however its also banning the ident as well.. (ie itsme@123.456.789) how can I change that ban type so its a ban like *@123.456.789<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12815">BarGuy</a> — Thu Jan 16, 2020 9:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
