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

	<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>2008-02-19T03:02:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-02-19T03:02:31-04:00</updated>

		<published>2008-02-19T03:02:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80966#p80966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80966#p80966"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80966#p80966"><![CDATA[
<blockquote class="uncited"><div>Try this: <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=715" class="postlink">Auth</a> by DrN<br><blockquote class="uncited"><div>Allows you to quickly and easily add authentication to channel commands.</div></blockquote></div></blockquote>Thanks Alchera, that's too much helpful.. <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=5982">iamdeath</a> — Tue Feb 19, 2008 3:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-02-18T01:54:54-04:00</updated>

		<published>2008-02-18T01:54:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80930#p80930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80930#p80930"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80930#p80930"><![CDATA[
Try this: <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=715" class="postlink">Auth</a> by DrN<br><blockquote class="uncited"><div>Allows you to quickly and easily add authentication to channel commands.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Feb 18, 2008 1:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-02-17T16:15:30-04:00</updated>

		<published>2008-02-17T16:15:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80926#p80926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80926#p80926"/>
		<title type="html"><![CDATA[Re: one question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80926#p80926"><![CDATA[
<blockquote class="uncited"><div>For example , if you want to use that script in a public channel in quakenet. my question is, if one nick from the list is out, and one user changes his nick to a right nick from the tcl, he could get op and make a takeover, right ? then it should has a code that you can for example type in the channel : !add nick auth , and the tcl makes a file with nicks/auths, then the script should verify if nick1 corresponds with the auth1 from the file and then op him, and if he changes nick, or he join with the right nick but with diferent auth, then, dont op.<br><br>Thanks mates!</div></blockquote>To be honest with you, I am not that good programmer so I don't know how to add this auth/deauth feature that's way too much hard for my little brain..  but actually I know it can cause problems in quakenet since the owner of this post wanted a script like that so I tried to help him with that.. as far as auth is concerned there are many scripts in TCL archive you can find.<br><br>peace<br>death<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Feb 17, 2008 4:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[noobman]]></name></author>
		<updated>2008-02-17T14:32:28-04:00</updated>

		<published>2008-02-17T14:32:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80923#p80923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80923#p80923"/>
		<title type="html"><![CDATA[one question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80923#p80923"><![CDATA[
For example , if you want to use that script in a public channel in quakenet. my question is, if one nick from the list is out, and one user changes his nick to a right nick from the tcl, he could get op and make a takeover, right ? then it should has a code that you can for example type in the channel : !add nick auth , and the tcl makes a file with nicks/auths, then the script should verify if nick1 corresponds with the auth1 from the file and then op him, and if he changes nick, or he join with the right nick but with diferent auth, then, dont op.<br><br>Thanks mates!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9488">noobman</a> — Sun Feb 17, 2008 2:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whoelse]]></name></author>
		<updated>2008-02-16T17:22:10-04:00</updated>

		<published>2008-02-16T17:22:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80902#p80902</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80902#p80902"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80902#p80902"><![CDATA[
the last one worked fine, thank u.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9360">whoelse</a> — Sat Feb 16, 2008 5:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-13T08:10:36-04:00</updated>

		<published>2007-10-13T08:10:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76696#p76696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76696#p76696"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76696#p76696"><![CDATA[
Try now, :S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat Oct 13, 2007 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whoelse]]></name></author>
		<updated>2007-10-13T05:42:14-04:00</updated>

		<published>2007-10-13T05:42:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76694#p76694</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76694#p76694"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76694#p76694"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#set your ops nickname here.set oplist [list "nick1" "nick2" "nick3" "nick4" "nick5" "nick6" "nick7" "nick8" "nick9" "nick10" "nick11" ]### Set your channel.set opchan "#tmp"### Do not edit from here.bind nick - * nickchangeproc nickchange {nick uhost hand chan newnick} { global oplist opchan botnick if {(![matchattr $hand b]) &amp;&amp; ($nick != $botnick)} {   foreach badchange [string tolower $oplist] {  if {![string match *$badchange* [string tolower $newnick]]} {      putserv "MODE $opchan -o $newnick"  return 0      }} }}bind mode - * mode_procproc mode_proc {nick host hand chan modechg victim} { global oplist opchan botnick if {($victim == $botnick) || ($nick == $botnick)} { return } if { $modechg == "+o" } {  foreach badop [string tolower $oplist] {  if {[string match *$badop* [string tolower $victim]]} { return }  putserv "MODE $opchan -o $victim"  putserv "PRIVMSG $victim :You're deoped because your new nickname is not in my list, contact my administrator for more"  return 0}    }}</code></pre></div>I've just removed the "!op" command as I have no need of it...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9360">whoelse</a> — Sat Oct 13, 2007 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-13T05:26:56-04:00</updated>

		<published>2007-10-13T05:26:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76691#p76691</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76691#p76691"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76691#p76691"><![CDATA[
<blockquote class="uncited"><div>I have no error's this time, but script doesn't let no one get opped, also those who are on the list, have another bug... when normal users change their nick they receive message from the bot like they "have been deopped" ...</div></blockquote>Show me exactly what code you're using please, don't copy paste mine, show me exactly yours.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat Oct 13, 2007 5:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whoelse]]></name></author>
		<updated>2007-10-13T05:10:39-04:00</updated>

		<published>2007-10-13T05:10:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76688#p76688</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76688#p76688"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76688#p76688"><![CDATA[
I have no error's this time, but script doesn't let no one get opped, also those who are on the list, have another bug... when normal users change their nick they receive message from the bot like they "have been deopped" ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9360">whoelse</a> — Sat Oct 13, 2007 5:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-13T04:09:28-04:00</updated>

		<published>2007-10-13T04:09:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76683#p76683</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76683#p76683"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76683#p76683"><![CDATA[
<blockquote class="uncited"><div>@iamdeath:<br>The reason it works for you, is that you've been careful, or rather lucky, enough when creating your oplist "list".<br><br>The prefer'd way of creating lists is by using the list command, having the list-items each as a separate argument:<div class="codebox"><p>Code: </p><pre><code>set mylist [list "item 1" "item2" "item3" ...]</code></pre></div>For very long lists, structures such as this may be used:<div class="codebox"><p>Code: </p><pre><code>set mylist [list "item 1" \"item2" \"item3 \..."item N"]</code></pre></div></div></blockquote>Thanks alot nml for correcting me, you've been soo kind and helpful always and been the best way to learn TCL scripting.<br><blockquote class="uncited"><div><blockquote class="uncited"><div>Ok check now the script and let me if that is what you wanted and if it's working fine with you.<br><br>Peace<br>iamdeath</div></blockquote><div class="codebox"><p>Code: </p><pre><code>[22:53] Tcl error [nickchange]: unmatched open quote in list[22:53] Tcl error [nickchange]: unmatched open quote in list[22:53] Tcl error [nickchange]: unmatched open quote in list</code></pre></div>this is what I get when someone changes his/her nick.</div></blockquote>Ok I have fixed it now you may retry.<br><br>Thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sat Oct 13, 2007 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-12T12:52:57-04:00</updated>

		<published>2007-10-12T12:52:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76662#p76662</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76662#p76662"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76662#p76662"><![CDATA[
@iamdeath:<br>The reason it works for you, is that you've been careful, or rather lucky, enough when creating your oplist "list".<br><br>The prefer'd way of creating lists is by using the list command, having the list-items each as a separate argument:<div class="codebox"><p>Code: </p><pre><code>set mylist [list "item 1" "item2" "item3" ...]</code></pre></div>For very long lists, structures such as this may be used:<div class="codebox"><p>Code: </p><pre><code>set mylist [list "item 1" \"item2" \"item3 \..."item N"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 12, 2007 12:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-12T11:42:45-04:00</updated>

		<published>2007-10-12T11:42:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76657#p76657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76657#p76657"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76657#p76657"><![CDATA[
<blockquote class="uncited"><div>The error is mainly in the oplist "list".<br>If this variable does not hold a valid list structure, the rest of the script will fail with similar error messages such as those posted.<br><br>Also, it is unadvisable to use string commands (such as "string tolower") on lists. If you need non-case sensitive matching, considder using -nocase options with "string match" (and other functions for comparsion that also supports it).<br>On a second thought, do you really wish to use string match at all, should'nt it me "string equal". After all, it says list of nicks, not list of nick-patterns...</div></blockquote>but the script is working fine for me thats kinda strange ;/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Fri Oct 12, 2007 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-12T09:07:55-04:00</updated>

		<published>2007-10-12T09:07:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76653#p76653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76653#p76653"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76653#p76653"><![CDATA[
The error is mainly in the oplist "list".<br>If this variable does not hold a valid list structure, the rest of the script will fail with similar error messages such as those posted.<br><br>Also, it is unadvisable to use string commands (such as "string tolower") on lists. If you need non-case sensitive matching, considder using -nocase options with "string match" (and other functions for comparsion that also supports it).<br>On a second thought, do you really wish to use string match at all, should'nt it me "string equal". After all, it says list of nicks, not list of nick-patterns...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 12, 2007 9:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-10-12T00:29:27-04:00</updated>

		<published>2007-10-12T00:29:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76645#p76645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76645#p76645"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76645#p76645"><![CDATA[
script is working fine with me, check your script that if you have copied it properly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Fri Oct 12, 2007 12:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whoelse]]></name></author>
		<updated>2007-10-11T16:53:44-04:00</updated>

		<published>2007-10-11T16:53:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76635#p76635</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76635#p76635"/>
		<title type="html"><![CDATA[OP for only specified nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76635#p76635"><![CDATA[
<blockquote class="uncited"><div>Ok check now the script and let me if that is what you wanted and if it's working fine with you.<br><br>Peace<br>iamdeath</div></blockquote><div class="codebox"><p>Code: </p><pre><code>[22:53] Tcl error [nickchange]: unmatched open quote in list[22:53] Tcl error [nickchange]: unmatched open quote in list[22:53] Tcl error [nickchange]: unmatched open quote in list</code></pre></div>this is what I get when someone changes his/her nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9360">whoelse</a> — Thu Oct 11, 2007 4:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
