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

	<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>2012-03-03T14:44:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Regex]]></name></author>
		<updated>2012-03-03T14:44:45-04:00</updated>

		<published>2012-03-03T14:44:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98922#p98922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98922#p98922"/>
		<title type="html"><![CDATA[Check User is protect and is owner (+a &amp; +q)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98922#p98922"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind mode - * mode:msg proc mode:msg {nick uhost hand chan mode desc} {   global botnick   if {$mode == "+o"} {     if {$desc == $botnick} { return 0 }     putquick "PRIVMSG $chan $desc $desc is now an operator!"  }  if {$mode == "+h"} {     if {$desc == $botnick} { return 0 }     putquick "PRIVMSG $chan $desc $desc is now halfoperator!"  }  if {$mode == "+v"} {     if {$desc == $botnick} { return 0 }     putquick "PRIVMSG $chan $desc $desc is now voice!"  }  if {$mode == "+a"} {     if {$desc == $botnick} { return 0 }     putquick "PRIVMSG $chan $desc $desc is now super operator!"  }  if {$mode == "+q"} {     if {$desc == $botnick} { return 0 }     putquick "PRIVMSG $chan $desc $desc is now founder!"  }}</code></pre></div>I added +q and +a modes but bot giving 2 message to channel. how can we prevent this?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11617">Regex</a> — Sat Mar 03, 2012 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FightingNavyman]]></name></author>
		<updated>2012-03-02T16:20:28-04:00</updated>

		<published>2012-03-02T16:20:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98921#p98921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98921#p98921"/>
		<title type="html"><![CDATA[Check User is protect and is owner (+a &amp; +q)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98921#p98921"><![CDATA[
how do yo use it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11503">FightingNavyman</a> — Fri Mar 02, 2012 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2012-02-06T19:08:30-04:00</updated>

		<published>2012-02-06T19:08:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98722#p98722</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98722#p98722"/>
		<title type="html"><![CDATA[Re: Check User is protect and is owner (+a &amp; +q)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98722#p98722"><![CDATA[
<blockquote class="uncited"><div>The problem is that if the user have a "op" (+o) , works great. But if the user have a "protect" (+a) or "owner" (+q) code doesn't work.<br>Please help me, how can I make this code working for "protected users and channel owners." ?</div></blockquote>Thommey wrote something for this already...<blockquote class="uncited"><div>Arbitrary chanmodes (+q, +a)<br><br>This script provides accessor functions isowner and isadmin to get ownership/adminship (or w/e those are) to tcl scripts.<br>You need to restart the bot when you first load it.</div></blockquote>See here --&gt; <a href="http://thommey.tclhelp.net/?page=scripts" class="postlink">http://thommey.tclhelp.net/?page=scripts</a><br><br>Download here --&gt; <a href="http://thommey.tclhelp.net/dl/dl.htcl?id=6" class="postlink">http://thommey.tclhelp.net/dl/dl.htcl?id=6</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Mon Feb 06, 2012 7:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2012-02-06T10:42:39-04:00</updated>

		<published>2012-02-06T10:42:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98721#p98721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98721#p98721"/>
		<title type="html"><![CDATA[Check User is protect and is owner (+a &amp; +q)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98721#p98721"><![CDATA[
One thing that comes to mind, to check:<br><br>In eggdrop.conf, find:<br>set opchars <br><br>What is it now?   Is it:<br>set opchars "@"<br>If I recall correctly, that is the default.<br>If so, change it to include &amp; and ~<br>and .restart<br><br>reference:<br><a href="http://eggwiki.org/Eggdrop.conf" class="postlink">http://eggwiki.org/Eggdrop.conf</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Feb 06, 2012 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrDeNNiS]]></name></author>
		<updated>2012-02-06T10:05:12-04:00</updated>

		<published>2012-02-06T10:05:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98720#p98720</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98720#p98720"/>
		<title type="html"><![CDATA[Check User is protect and is owner (+a &amp; +q)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98720#p98720"><![CDATA[
Hello,<br><br>I have simple code like this.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !op op:proc proc op:proc {nick uhost hand chan arg} { if {[isop $nick $chan]} {#my code goes here, it works problem is not here.}}</code></pre></div>The problem is that if the user have a "op" (+o) , works great. But if the user have a "protect" (+a) or "owner" (+q) code doesn't work.<br>Please help me, how can I make this code working for "protected users and channel owners." ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11875">MrDeNNiS</a> — Mon Feb 06, 2012 10:05 am</p><hr />
]]></content>
	</entry>
	</feed>
