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

	<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>2004-12-23T03:05:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-12-23T03:05:32-04:00</updated>

		<published>2004-12-23T03:05:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44402#p44402</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44402#p44402"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44402#p44402"><![CDATA[
afaik this is a help forum we do not translate other scripting languages to tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Dec 23, 2004 3:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[s0ulw4r]]></name></author>
		<updated>2004-12-22T17:08:35-04:00</updated>

		<published>2004-12-22T17:08:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44390#p44390</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44390#p44390"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44390#p44390"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code> eval set REALNAME 14[4CrashProof-War^Bawt v.A114]^assign username 14[4CrashProof-War^Bawt v.A114]^assign server aquilla.hackexe.org^assign dontkickthisban *!*@* *!~*@* *bot* *b0t* *sevr* *serv*    assign banmask $after(@ $userhost($knick2))      /mode $warchan +b $banmask      /kick $warchan $knick2 Banned.14[4CrashProof-War^Bawt14]      ^timer -refnum Unban1 30 mode $warchan -b $banmask[quote] i run epic bots with eggdrops   max ban is 30sec .The chanserv is only for the bots  /kick $warchan $knick2 Banned for 30 seconds.14[4BulletProof-War^Bawt14][/quote]</code></pre></div>/mode $warchan -bbbb *sevr*!*@* *serv*!*@* *bot*!*@* *b0t*!*@*  <blockquote class="uncited"><div>IF a USER that it does not have in nick his words bot/b0t/serv/sevr removes BAN in the channel him it makes 2 bans from 30 seconds 1)ban - reason:Dont Unban A Bot/serv Ban: banmask 2)ban - reason:Don't Mess With The Bot's or Serv's. IT CAN BECOME TCL?  SPECIAL THANKS</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5804">s0ulw4r</a> — Wed Dec 22, 2004 5:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-21T23:18:56-04:00</updated>

		<published>2004-12-21T23:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44348#p44348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44348#p44348"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44348#p44348"><![CDATA[
Why not use a newchanban/newban -sticky ban with +dynamicbans activated add them into your channel? so those bans will not be removed by anyone, similar to as of ChanServ akicks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Dec 21, 2004 11:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[s0ulw4r]]></name></author>
		<updated>2004-12-21T08:01:34-04:00</updated>

		<published>2004-12-21T08:01:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44298#p44298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44298#p44298"/>
		<title type="html"><![CDATA[Dont Unban A Bot/b0t/sevr/serv  Ban!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44298#p44298"><![CDATA[
IF a USER that it does not have in nick his words bot/b0t/serv/sevr removes BAN in the channel him it makes 2 bans from 30 seconds 1)ban - reason:Dont Unban A Bot/serv Ban: banmask 2)ban - reason:Don't Mess With The Bot's or Serv's.   IT CAN  BECOME TCL? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> SPECIAL THANKS<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5804">s0ulw4r</a> — Tue Dec 21, 2004 8:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[s0ulw4r]]></name></author>
		<updated>2004-12-21T06:56:55-04:00</updated>

		<published>2004-12-21T06:56:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44295#p44295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44295#p44295"/>
		<title type="html"><![CDATA[working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44295#p44295"><![CDATA[
special thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5804">s0ulw4r</a> — Tue Dec 21, 2004 6:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-20T22:48:44-04:00</updated>

		<published>2004-12-20T22:48:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44285#p44285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44285#p44285"/>
		<title type="html"><![CDATA[Re: rehelp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44285#p44285"><![CDATA[
<blockquote class="uncited"><div>this tcl that you gave to me doesn't work,I need a list where I can put the nicks that have the words &lt;&lt;bot, b0t,serv and sevr&gt;&gt; no flags only nicks.Any nick that has the words &lt;&lt;bot, b0t,serv and sevr&gt;&gt; will try to come into the channel and it is not in the protect list will automatically be banned.The one way is to put in the tcl the nicks,the other way is the bot by itself automatically when it comes in the channel to seek the access list of the channel &lt;&lt;greek network:/msg chanserv access list&gt;&gt; and at dalnet is &lt;&lt;:/msg chanserv sop list&gt;&gt;.and the third way is to make it by a command public or /msg.<br>                               Thank you for your patience</div></blockquote>instead of whining "it doesn't work it doesn't work" you could have said that it complains with a Tcl error on $::botnet-nick; change it to ${::botnet-nick} and it's gonna be okay<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 20, 2004 10:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[s0ulw4r]]></name></author>
		<updated>2004-12-20T17:49:35-04:00</updated>

		<published>2004-12-20T17:49:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44272#p44272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44272#p44272"/>
		<title type="html"><![CDATA[rehelp]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44272#p44272"><![CDATA[
this tcl that you gave to me doesn't work,I need a list where I can put the nicks that have the words &lt;&lt;bot, b0t,serv and sevr&gt;&gt; no flags only nicks.Any nick that has the words &lt;&lt;bot, b0t,serv and sevr&gt;&gt; will try to come into the channel and it is not in the protect list will automatically be banned.The one way is to put in the tcl the nicks,the other way is the bot by itself automatically when it comes in the channel to seek the access list of the channel &lt;&lt;greek network:/msg chanserv access list&gt;&gt; and at dalnet is &lt;&lt;:/msg chanserv sop list&gt;&gt;.and the third way is to make it by a command public or /msg.<br>                               Thank you for your patience<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5804">s0ulw4r</a> — Mon Dec 20, 2004 5:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-20T11:11:19-04:00</updated>

		<published>2004-12-20T11:11:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44251#p44251</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44251#p44251"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44251#p44251"><![CDATA[
[quote="s0ulw4r"][quote="demond"]what's not working?<br><br>from the listing you pasted (next time use <div class="codebox"><p>Code: </p><pre><code> tag) I can't understand what your problem is[/quote]  want to make a tcl that would give access to channel list (/cs access #channel list) and ban (reason: Is Not Protected. False Bot) those nicks that include the word the words bot/b0t/serv/serv {(bot|b0t|serv|sevr)} $nick]} and are not include in the list of the channelthe tcl might be made in a way that I would add them with publi command! ( !protect EggBot !ptrotect SpEEd|SEVR !protect dArkB0t ................)[/quote]access to channel list? access that grants the right of use of /cs access #channel list? this has nothing to do with your initial request, or you are simply unable to explain what you need (assuming that you know it yourself, which I very much doubt, I think you are totally confused)what I wrote for you (with Papillon's fix) bans anyone with bot/serv in their nick, if they aren't on the protected list - and you can add nicks to that list with !protect public command - if this doesn't suit you, feel free to help yourself as you wish</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 20, 2004 11:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-20T04:55:07-04:00</updated>

		<published>2004-12-20T04:55:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44230#p44230</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44230#p44230"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44230#p44230"><![CDATA[
Concept:<br>First bind on pub, to bind to the trigger which would make the bot do /msg chanserv access #channel list. Then bind to notc, check if [string equal "ChanServ" $nick] and making sure $target is the bot's nick by checking string index 0 != #, if necessary. Then you can find the list index numbers of the text output to check and string match your patterns with a foreach loop or string match the entire text. Though I would prefer using lindex. After match, you can go ahead and do anything you like within the loop itself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Dec 20, 2004 4:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[s0ulw4r]]></name></author>
		<updated>2004-12-20T04:27:54-04:00</updated>

		<published>2004-12-20T04:27:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44227#p44227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44227#p44227"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44227#p44227"><![CDATA[
[quote="demond"]what's not working?<br><br>from the listing you pasted (next time use <div class="codebox"><p>Code: </p><pre><code> tag) I can't understand what your problem is[/quote]  want to make a tcl that would give access to channel list (/cs access #channel list) and ban (reason: Is Not Protected. False Bot) those nicks that include the word the words bot/b0t/serv/serv {(bot|b0t|serv|sevr)} $nick]} and are not include in the list of the channelthe tcl might be made in a way that I would add them with publi command! ( !protect EggBot !ptrotect SpEEd|SEVR !protect dArkB0t ................)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5804">s0ulw4r</a> — Mon Dec 20, 2004 4:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-19T21:37:25-04:00</updated>

		<published>2004-12-19T21:37:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44197#p44197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44197#p44197"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44197#p44197"><![CDATA[
thats why I used foreach<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 19, 2004 9:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-19T21:25:37-04:00</updated>

		<published>2004-12-19T21:25:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44192#p44192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44192#p44192"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44192#p44192"><![CDATA[
Hmm... never tried that, seems odd to match 2 lists of elements and checking if any both of the lists have similar entries. However you would need to use a foreach loop with lsearch for that. The foreach loop would keep changing the element in one list (which will be your search pattern), while you match against the other list.<br><br>I just use a foreach loop as you did and use string match as it is faster. But a foreach loop and string match would take the sametime as lsearch then, since string match has a foreach loop with it and it is not alone.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Dec 19, 2004 9:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-19T20:57:43-04:00</updated>

		<published>2004-12-19T20:57:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44187#p44187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44187#p44187"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44187#p44187"><![CDATA[
<blockquote class="uncited"><div>And also for using lsearch matching, put both of the variables to match in similar strings before using -exact; either both in lower strings or upper strings. (generally a good idea)</div></blockquote>how do you lsearch through patterns, matching not a pattern against list elements but an element against patterns?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 19, 2004 8:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-19T20:54:52-04:00</updated>

		<published>2004-12-19T20:54:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44186#p44186</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44186#p44186"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44186#p44186"><![CDATA[
And also for using lsearch matching, put both of the variables to match in similar strings before using -exact; either both in lower strings or upper strings, since it does not have a -nocase switch such as other string manipulation commands. (generally a good idea)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Dec 19, 2004 8:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-12-19T11:37:56-04:00</updated>

		<published>2004-12-19T11:37:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44165#p44165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44165#p44165"/>
		<title type="html"><![CDATA[!help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44165#p44165"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[string match *${b}* $n] &amp;&amp; ([lsearch -exact $::plist $n] == -1)} {</code></pre></div>you have to add a -nocase in there<div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase *${b}* $n] &amp;&amp; ([lsearch -exact $::plist $n] == -1)} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sun Dec 19, 2004 11:37 am</p><hr />
]]></content>
	</entry>
	</feed>
