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

	<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-05-26T07:28:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-26T07:28:42-04:00</updated>

		<published>2008-05-26T07:28:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83228#p83228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83228#p83228"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83228#p83228"><![CDATA[
Well smart or not. thats why i want the script for the "smartness"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Mon May 26, 2008 7:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-05-25T17:37:08-04:00</updated>

		<published>2008-05-25T17:37:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83214#p83214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83214#p83214"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83214#p83214"><![CDATA[
matchattr is only for internal eggdrop flag checking.<br><br>it has NOTHING to do with Q.<br>Instead you should be smart enough to just not op all users on your channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun May 25, 2008 5:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-24T10:14:32-04:00</updated>

		<published>2008-05-24T10:14:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83157#p83157</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83157#p83157"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83157#p83157"><![CDATA[
Yep its q net. Sorry. <br><br>Well if i dont want to set +d on my bot, just checking on Q it has to be look like<blockquote class="uncited"><div>if {[matchattr [nick2hand $nick] +d $chan] == 0} {</div></blockquote>??<br><br>and what i meant with the trigger is...<br><div class="codebox"><p>Code: </p><pre><code>setudef flag aopbind pub n "!aop" pub:aopbind join - * join:aop</code></pre></div>Well i dont know how o bind the rest in the code. maybe <br><div class="codebox"><p>Code: </p><pre><code>setudef flag aopbind pub n "!aop" pub:aopbind join - * join:aopbind time -|- "* * * * *" scantimebind PUB o $aop(cmd) aop_pubproc scantime {minute hour day month year} {   global aop   bind RAW -|- {354} raw354   if {[validchan $aop(channel)]} {      if {[channel get $aop(channel) aop]} {         putserv "WHO $aop(channel) n%cnahuft,$aop(rawid)"      }   }}proc raw354 {s r a} {   global aop   set a [join [split $a]]   regexp {(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?)} $a match bnick rawid chan ident host nick flags auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop] || [channel get [string tolower $chan] aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick            }         }         }        }         }proc aop_pub {n u h c t} {   set s [lindex $t 0]   switch $s {      on {         if {[channel get $c aop]} {            putserv "NOTICE $n :Auto op is already \002on\002 for $c"         } else {            channel set $c +aop            putserv "NOTICE $n :Auto op is now \002on\002 for $c"         }      }      off {channel set $c -aop; putserv "NOTICE $n :Auto op is now \002off\002 for $c"}      default {         if {[channel get $c aop]} {            putserv "NOTICE $n :Auto op is \002on\002 for $c"         } else {            putserv "NOTICE $n :Auto op is \002off\002 for $c"         }      }   }}putlog "ircu AOP script loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Sat May 24, 2008 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-23T23:33:01-04:00</updated>

		<published>2008-05-23T23:33:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83140#p83140</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83140#p83140"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83140#p83140"><![CDATA[
<blockquote class="uncited"><div>Well i meant !aop #channel on/off status<br><br>that somebody can enter in chan !aop #xyz on<br><br>and it ops also Users that have +d Flag on q. Means the Bot ops and q deops and this the whole time.<br><br>i´ve tried this <blockquote class="uncited"><div>if {[matchattr [nick2hand $nick] d|d $chan] == 0} {</div></blockquote>  but its not working</div></blockquote>Is "q" your bot? If you are talking about the quakenet services, then you'll have to set that user +d on your bot also.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri May 23, 2008 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-23T14:15:32-04:00</updated>

		<published>2008-05-23T14:15:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83129#p83129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83129#p83129"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83129#p83129"><![CDATA[
Well i meant !aop #channel on/off status<br><br>that somebody can enter in chan !aop #xyz on<br><br>and it ops also Users that have +d Flag on q. Means the Bot ops and q deops and this the whole time.<br><br>i´ve tried this <blockquote class="uncited"><div>if {[matchattr [nick2hand $nick] d|d $chan] == 0} {</div></blockquote>  but its not working<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Fri May 23, 2008 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-23T12:04:28-04:00</updated>

		<published>2008-05-23T12:04:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83127#p83127</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83127#p83127"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83127#p83127"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>setudef flag aopset aop(channel) "#channel"set aop(rawid) "678"set aop(cmd) "!aop"bind time -|- "* * * * *" scantimebind PUB o $aop(cmd) aop_pubproc scantime {minute hour day month year} {   global aop   bind RAW -|- {354} raw354   if {[validchan $aop(channel)]} {      if {[channel get $aop(channel) aop]} {         putserv "WHO $aop(channel) n%cnahuft,$aop(rawid)"      }   }}proc raw354 {s r a} {   global aop   set a [join [split $a]]   regexp {(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?)} $a match bnick rawid chan ident host nick flags auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop] || [channel get [string tolower $chan] aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick            }         }         }        }         }proc aop_pub {n u h c t} {   set s [lindex $t 0]   switch $s {      on {         if {[channel get $c aop]} {            putserv "NOTICE $n :Auto op is already \002on\002 for $c"         } else {            channel set $c +aop            putserv "NOTICE $n :Auto op is now \002on\002 for $c"         }      }      off {channel set $c -aop; putserv "NOTICE $n :Auto op is now \002off\002 for $c"}      default {         if {[channel get $c aop]} {            putserv "NOTICE $n :Auto op is \002on\002 for $c"         } else {            putserv "NOTICE $n :Auto op is \002off\002 for $c"         }      }   }}putlog "ircu AOP script loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri May 23, 2008 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-23T11:53:44-04:00</updated>

		<published>2008-05-23T11:53:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83126#p83126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83126#p83126"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83126#p83126"><![CDATA[
of course that's possible <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=4461">DragnLord</a> — Fri May 23, 2008 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-23T11:24:25-04:00</updated>

		<published>2008-05-23T11:24:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83123#p83123</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83123#p83123"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83123#p83123"><![CDATA[
ahh Ok. no did not knew that. Thank u very much for ure help.<br><br>Well hope u will not kill me but is it possible to implement this part ?<br>  <div class="codebox"><p>Code: </p><pre><code> bind PUB o !aop aop_pub   proc aop_pub {nick uhost hand chan arg} {      set s [lindex $arg 0]      switch $s {         on {            if {[channel get $chan aop]} {               putserv "NOTICE $nick :Auto op is already \002on\002 for $chan"            } else {               channel set $chan +aop               putserv "NOTICE $nick :Auto op is now \002on\002 for $chan"            }         }         off { channel set $chan -aop; putserv "NOTICE $nick :Auto op is now \002off\002 for $chan" }         default {            if {[channel get $chan aop]} {               putserv "NOTICE $nick :Auto op is \002on\002 for $chan"            } else {               putserv "NOTICE $nick :Auto op is \002off\002 for $chan"            }         }      }   }</code></pre></div>Maybe to let the user edit the trigger like<br><blockquote class="uncited"><div>set op(trigger) "\."</div></blockquote>Thank u<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Fri May 23, 2008 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-23T02:27:48-04:00</updated>

		<published>2008-05-23T02:27:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83115#p83115</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83115#p83115"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83115#p83115"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>setudef flag aopset aop(channel) "#channel"set aop(rawid) "678"bind time -|- "* * * * *" scantimeproc scantime {minute hour day month year} {   global aop   bind RAW -|- {354} raw354   if {[validchan $aop(channel)]} {      if {[channel get $aop(channel) aop]} {         putserv "WHO $aop(channel) n%cnahuft,$aop(rawid)"      }   }}proc raw354 {s r a} {   global aop   set a [join [split $a]]   regexp {(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?)} $a match bnick rawid chan ident host nick flags auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop] || [channel get [string tolower $chan] aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick            }         }         }        }         }           putlog "ircu AOP script loaded"</code></pre></div> Happier now?<br>By the way, quakenet uses undernet's ircd (just in case you didn't know that).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri May 23, 2008 2:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-23T02:23:18-04:00</updated>

		<published>2008-05-23T02:23:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83114#p83114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83114#p83114"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83114#p83114"><![CDATA[
<blockquote class="uncited"><div>Well i wrote i using it for <strong class="text-strong">Quakenet</strong> <br><blockquote class="uncited"><div>I want to use it on Quakenet</div></blockquote></div></blockquote>Unfortunately you did not  say that in your initial post, the script had already been written by the time you did say that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri May 23, 2008 2:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-22T15:52:54-04:00</updated>

		<published>2008-05-22T15:52:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83107#p83107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83107#p83107"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83107#p83107"><![CDATA[
Well i wrote i using it for <strong class="text-strong">Quakenet</strong> <br><blockquote class="uncited"><div>I want to use it on Quakenet</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Thu May 22, 2008 3:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-22T13:03:15-04:00</updated>

		<published>2008-05-22T13:03:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83101#p83101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83101#p83101"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83101#p83101"><![CDATA[
tested and working on undernet for me:<div class="codebox"><p>Code: </p><pre><code>setudef flag aopset aop(channel) "#channel"set aop(rawid) "678"bind time -|- "* * * * *" scantimeproc scantime {minute hour day month year} {   global aop   bind RAW -|- {354} raw354   if {[validchan $aop(channel)]} {      if {[channel get $aop(channel) aop]} {         putserv "WHO $aop(channel) n%cnahuft,$aop(rawid)"      }   }}proc raw354 {s r a} {   global aop   set a [join [split $a]]   regexp {(.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?) (.*?)} $a match bnick rawid chan ident host nick flags auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop] || [channel get [string tolower $chan] aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick            }         }         }         }         }            putlog "UnderNet AOP script loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu May 22, 2008 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-22T12:08:16-04:00</updated>

		<published>2008-05-22T12:08:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83099#p83099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83099#p83099"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83099#p83099"><![CDATA[
Is the bot using a really old version of TCL?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Thu May 22, 2008 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2008-05-22T07:41:53-04:00</updated>

		<published>2008-05-22T07:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83090#p83090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83090#p83090"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83090#p83090"><![CDATA[
hehe. well 4 a clock is early <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>But its still nothing<br>Authed User joins the Chan and.... thats it.<br><br>Edit: well Partyline says:" Tcl error [raw354]: can't read "rawid": no such variable"<br><br>Here the whole Code<br><div class="codebox"><p>Code: </p><pre><code>setudef flag aopset aop(channel) "#channel"set aop(rawid) "678"bind time -|- "* * * * *" scantimeproc scantime {minute hour day month year} {   global aop   bind RAW -|- {354} raw354   if {[validchan $aop(channel)]} {      if {[channel get $aop(channel) aop]} {         putserv "WHO $aop(channel) n%cnahuft,$aop(rawid)"      }   }} proc raw354 {s r a} {   global aop   set a [split $a]   set a2 [string tolower $a]   regexp {.*? (.*?) .*? .*? .*? .*? .*? (.*?) .*?} [join $a] -&gt; rawid flags   regexp {(.*?) .*? (.*?) (.*?) (.*?) (.*?) (.*?) .*? (.*?)} [join $a2] -&gt; bnick chan ident host nick auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick       }            }         } else {            pushmode $chan +v $nick         }      }   }           </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Thu May 22, 2008 7:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-05-21T10:56:08-04:00</updated>

		<published>2008-05-21T10:56:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83063#p83063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83063#p83063"/>
		<title type="html"><![CDATA[AOP with authcheck]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83063#p83063"><![CDATA[
I spotted a few more typos (guess I shouldn't bother answering posts at 4am).<div class="codebox"><p>Code: </p><pre><code>proc raw354 {s r a} {   global aop   set a [split $a]   set a2 [string tolower $a]   regexp {.*? (.*?) .*? .*? .*? .*? .*? (.*?) .*?} [join $a] -&gt; rawid flags   regexp {(.*?) .*? (.*?) (.*?) (.*?) (.*?) (.*?) .*? (.*?)} [join $a2] -&gt; bnick chan ident host nick auth   set v "*+*"   set o "*@*"   if {[string equal -nocase $rawid $aop(rawid)]} {      if {![string match $auth 0] &gt; 0} {         if {[channel get $chan aop]} {            if {[string match "$o" "$flags"] == 0} {               pushmode $chan +o $nick            }         }      }   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Wed May 21, 2008 10:56 am</p><hr />
]]></content>
	</entry>
	</feed>
