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

	<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-06T23:14:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-06T23:14:06-04:00</updated>

		<published>2004-12-06T23:14:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43597#p43597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43597#p43597"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43597#p43597"><![CDATA[
Yeah I know, but I like it to be smaller, as it takes less time for the bot to execute it. <br><br>When you have different statement conditions, but same outputs of some conditions please do utilize the logic gates such as AND or OR to sum up the conditions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Dec 06, 2004 11:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-12-06T12:50:30-04:00</updated>

		<published>2004-12-06T12:50:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43569#p43569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43569#p43569"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43569#p43569"><![CDATA[
<blockquote class="uncited"><div>We can compress this further to:</div></blockquote>Why bother though awyeah, Its not like his bot is going to crash cause of some extra lines :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Dec 06, 2004 12:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KNude]]></name></author>
		<updated>2004-12-06T09:14:03-04:00</updated>

		<published>2004-12-06T09:14:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43563#p43563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43563#p43563"/>
		<title type="html"><![CDATA[It works now!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43563#p43563"><![CDATA[
Thanks metroid! I tried your script and it worked.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5742">KNude</a> — Mon Dec 06, 2004 9:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-06T05:58:12-04:00</updated>

		<published>2004-12-06T05:58:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43557#p43557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43557#p43557"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43557#p43557"><![CDATA[
We can compress this further to:<br><div class="codebox"><p>Code: </p><pre><code>bind JOIN - * join:opproc join:op {nickname hostname handle channel} { if {[matchattr $handle |mn $channel] || [matchattr $handle o|o $channel]} {  putquick "MODE $channel +o $nickname"  } elseif {[matchattr $handle |v $channel]} {  putquick "MODE $channel +v $nickname" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Dec 06, 2004 5:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-12-06T02:29:47-04:00</updated>

		<published>2004-12-06T02:29:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43547#p43547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43547#p43547"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43547#p43547"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind JOIN - * join:opproc join:op { nickname hostname handle channel } {                if {[matchattr $handle |mnov $channel]} {                    putquick "MODE $channel +o $nickname"                } elseif {[matchattr $handle |o $channel]} {                    putquick "MODE $channel +o $nickname"                } elseif {[matchattr $handle |v $channel]} {                    putquick "MODE $channel +v $nickname"                }}</code></pre></div>This is what i took from my Q bot script but i assume it should work fine for you too. It only ops people with flags IN the channel but it would op anyone with an global op flag if you change<br><div class="codebox"><p>Code: </p><pre><code>} elseif {[matchattr $handle |o $channel]} {                    putquick "MODE $channel +o $nickname"</code></pre></div>into <br><div class="codebox"><p>Code: </p><pre><code>} elseif {[matchattr $handle o|o $channel]} {                    putquick "MODE $channel +o $nickname"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Dec 06, 2004 2:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-12-06T02:20:40-04:00</updated>

		<published>2004-12-06T02:20:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43544#p43544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43544#p43544"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43544#p43544"><![CDATA[
Maybe the problem is aop-delay. Try; <strong class="text-strong">.chanset * aop-delay 0:0</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Mon Dec 06, 2004 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-05T21:48:40-04:00</updated>

		<published>2004-12-05T21:48:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43535#p43535</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43535#p43535"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43535#p43535"><![CDATA[
Well, you can always make tcls.<br>They can trigger in dcc (partyline), in channels and in private messages/notices.<br><br>For example, type this in DCC:<br>(Check if dcc:tcl has a comment, '#' infront of its unbind in .conf file)<br><div class="codebox"><p>Code: </p><pre><code>.tcl putserv "MODE #channel +o nick"</code></pre></div>Replace '#channel' and 'nick' by the actual channel and nick you want to op. Also make sure the bot is opped.<br><br>Similarly you can load tcls into the bot, to make it perform what ever you want it todo. For example binding join on a channel, checking users for flag "o" and auto-oping them or voicing them by checking flag "v" etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Dec 05, 2004 9:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KNude]]></name></author>
		<updated>2004-12-05T19:21:59-04:00</updated>

		<published>2004-12-05T19:21:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43527#p43527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43527#p43527"/>
		<title type="html"><![CDATA[Didn't work.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43527#p43527"><![CDATA[
Thanks for the reply.<br>I indeed had -autoop set, but unfortunately changing it to +autoop didn't work.<br><br>Any other suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5742">KNude</a> — Sun Dec 05, 2004 7:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mopar]]></name></author>
		<updated>2004-12-05T17:58:59-04:00</updated>

		<published>2004-12-05T17:58:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43517#p43517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43517#p43517"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43517#p43517"><![CDATA[
Try doing .chaninfo #channelname<br>probably you have -autoop set<br>do a .chanset #channelname +autoop and see if that solves your problem<br><br>/mopar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2103">mopar</a> — Sun Dec 05, 2004 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KNude]]></name></author>
		<updated>2004-12-05T17:37:24-04:00</updated>

		<published>2004-12-05T17:37:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43516#p43516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43516#p43516"/>
		<title type="html"><![CDATA[A weird problem: My bot doesn't op anyone!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43516#p43516"><![CDATA[
My bot has a weird problem: It doesn't op anyone!<br>I'm not a total newbie, so the users who should be opped have +ao flags on the channel that I want them to be opped. I also know that my bot identifies the users very well. Still, no one gets ops, not even me (I have all the possible global flags there are)!<br><br>When I type <br>.op Jack<br>in the DCC Chat window, everything works fine (unless the nickname of this user is more than 9 characters long.)<br><br>The eggdrop version in question is 1.6.17 and the config file version is probably 1.6.13 or something like that, I can't remember exactly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5742">KNude</a> — Sun Dec 05, 2004 5:37 pm</p><hr />
]]></content>
	</entry>
	</feed>
