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

	<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>2007-07-01T15:18:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-07-01T15:18:26-04:00</updated>

		<published>2007-07-01T15:18:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74093#p74093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74093#p74093"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74093#p74093"><![CDATA[
nothing at all in the bots logs mate  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Sun Jul 01, 2007 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bootdisk]]></name></author>
		<updated>2007-06-27T13:17:18-04:00</updated>

		<published>2007-06-27T13:17:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73939#p73939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73939#p73939"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73939#p73939"><![CDATA[
<blockquote class="uncited"><div>they are notices.<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind notc -|- {*} flags:checksetudef flag checkflagsproc flags:check {nickname hostname handle dest text} {  if {$nickname == "Q"} {    if {[regexp -nocase {^Access level (.*?) on channel (.*?)$} $text -&gt; flags channel]} {      putlog "I have $flags on $channel - Q"      if {[validchan $channel] &amp;&amp; [channel get $channel checkflags] &amp;&amp; ![string match -nocase *a* $flags] &amp;&amp; ![string match -nocase *o* $flags]} {        putlog "bot does not have +ao in $channel - Q"        putquick "PART $channel :you need to give me +ao on Q/L"        channel remove $channel        putlog "removed $channel due to no +ao - Q"      }    }  } elseif {$nickname == "L"} {    if {[regexp -nocase {^#(.*?)\s{1,40}(.*?)$} $text -&gt; channel flags]} {      set channel "#$channel"      putlog "I have $flags on $channel - L"      if {[validchan $channel] &amp;&amp; [channel get $channel checkflags] &amp;&amp; ![string match -nocase *a* $flags] &amp;&amp; ![string match -nocase *o* $flags]} {        putlog "bot does not have +ao on $channel - L"        putquick "PART $channel :you need to give me +ao on Q/L"        channel remove $channel        putlog "removed $channel due to no +ao - L"      }    }  }}</code></pre></div>this is only an example, not tested...</div></blockquote><br><br>How to change this code so it checks the flags when it joins the channel, and if the bot do not have the flags, then it will msg the channel and say that it need the flags and then wait 5min, check again. and if the bot still not have the flags it will part the channel.<br><br>Anyone wanna try to add that to this script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9054">bootdisk</a> — Wed Jun 27, 2007 1:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-06-27T11:02:39-04:00</updated>

		<published>2007-06-27T11:02:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73931#p73931</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73931#p73931"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73931#p73931"><![CDATA[
I,ve made an edited version above with some putlog's for debugging. Give it a try and post back the results from putlog.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jun 27, 2007 11:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-06-26T15:24:02-04:00</updated>

		<published>2007-06-26T15:24:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73911#p73911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73911#p73911"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73911#p73911"><![CDATA[
Hmm, theres no error now m8.<br><br>but nothing happens, bots in 2 channels with no op, but dont part the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Tue Jun 26, 2007 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-06-25T10:46:34-04:00</updated>

		<published>2007-06-25T10:46:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73885#p73885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73885#p73885"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73885#p73885"><![CDATA[
I made a regexp error for the Q flags, used the variable reference $ when not needed. I edited the version above with the fix.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Mon Jun 25, 2007 10:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-06-24T19:37:27-04:00</updated>

		<published>2007-06-24T19:37:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73878#p73878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73878#p73878"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73878#p73878"><![CDATA[
thanks Tosser^^  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>I got this error mat.<br><br>Tcl error [flags:check]: can't read "flags": no such variable<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Sun Jun 24, 2007 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-06-27T11:01:58-04:00</updated>

		<published>2007-06-24T17:23:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73874#p73874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73874#p73874"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73874#p73874"><![CDATA[
they are notices.<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind notc -|- {*} flags:checksetudef flag checkflagsproc flags:check {nickname hostname handle dest text} {  if {$nickname == "Q"} {    if {[regexp -nocase {^Access level (.*?) on channel (.*?)$} $text -&gt; flags channel]} {      putlog "I have $flags on $channel - Q"      if {[validchan $channel] &amp;&amp; [channel get $channel checkflags] &amp;&amp; ![string match -nocase *a* $flags] &amp;&amp; ![string match -nocase *o* $flags]} {        putlog "bot does not have +ao in $channel - Q"        putquick "PART $channel :you need to give me +ao on Q/L"        channel remove $channel        putlog "removed $channel due to no +ao - Q"      }    }  } elseif {$nickname == "L"} {    if {[regexp -nocase {^#(.*?)\s{1,40}(.*?)$} $text -&gt; channel flags]} {      set channel "#$channel"      putlog "I have $flags on $channel - L"      if {[validchan $channel] &amp;&amp; [channel get $channel checkflags] &amp;&amp; ![string match -nocase *a* $flags] &amp;&amp; ![string match -nocase *o* $flags]} {        putlog "bot does not have +ao on $channel - L"        putquick "PART $channel :you need to give me +ao on Q/L"        channel remove $channel        putlog "removed $channel due to no +ao - L"      }    }  }}</code></pre></div>this is only an example, not tested...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Jun 24, 2007 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T17:27:18-04:00</updated>

		<published>2007-06-23T17:27:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73830#p73830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73830#p73830"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73830#p73830"><![CDATA[
Ok so these do not look like notices.. you have to give us the raw numerics of the server replies.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 5:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-06-23T11:56:30-04:00</updated>

		<published>2007-06-23T11:56:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73821#p73821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73821#p73821"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73821#p73821"><![CDATA[
<blockquote class="uncited"><div>and receive what?</div></blockquote> Msg q whois FBAlien<br>: FBAlien is online right now.<br>: FBAlien is authed as RailJunkie.<br>: Last auth: [Friday, 2007-06-22 22:24:19]<br>: Channel list:<br>: Access level +aot on channel #frag-agency<br>: Access level +av on channel #KingChaos<br>: Access level +ao on channel #Deadly-Bots<br>: Access level +ao on channel #fragbots<br>: Access level +ao on channel #dtdesign<br>: Access level +av on channel #onlylinux<br>: Access level +v on channel #hkq3<br>: Access level +av on channel #forwarded<br>: End of list.<br><br>Msg L whois FBAlien<br>: FBAlien is authed as RailJunkie.<br>: Last auth: Fri Jun 22 22:24:20 2007<br>: Known on the following channels:<br>: channel access flags<br>: ---------------------------------------<br> #fragbottest v<br>: #f0v aov<br>: #fragbots.staff ao<br>: #fadmin ao<br>: #railjunkies.com amo<br>: RailJunkie is known to you on 5 channel/s (max 20 channels).<br> End of list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Sat Jun 23, 2007 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-23T04:57:21-04:00</updated>

		<published>2007-06-23T04:57:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73809#p73809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73809#p73809"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73809#p73809"><![CDATA[
and receive what?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Jun 23, 2007 4:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-06-22T23:15:44-04:00</updated>

		<published>2007-06-22T23:15:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73805#p73805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73805#p73805"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73805#p73805"><![CDATA[
yes can do that with!<br><br>putserv "privmsg Q :whois $::botnick"<br><br>putserv "privmsg L :whois $::botnick"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Fri Jun 22, 2007 11:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-06-21T11:25:24-04:00</updated>

		<published>2007-06-21T11:25:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73739#p73739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73739#p73739"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73739#p73739"><![CDATA[
How to check for +ao flags? through whois?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jun 21, 2007 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smash]]></name></author>
		<updated>2007-06-21T10:23:30-04:00</updated>

		<published>2007-06-21T10:23:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73732#p73732</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73732#p73732"/>
		<title type="html"><![CDATA[check flags]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73732#p73732"><![CDATA[
I have been looking for a script, where the bot will check to see if it has +ao flags on quakenet with Q/L service bots and if its oped in channel every 15 minuits, if it has no servece flags or is not oped in that channel, the bot will auto part.<br><br>need to set it in dcc .setchan #channel +checkflags <br>any help please <br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8041">smash</a> — Thu Jun 21, 2007 10:23 am</p><hr />
]]></content>
	</entry>
	</feed>
