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

	<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>2005-11-18T17:29:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DrTongue]]></name></author>
		<updated>2005-11-18T17:29:38-04:00</updated>

		<published>2005-11-18T17:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57579#p57579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57579#p57579"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57579#p57579"><![CDATA[
Thank you Sir! Works like a charm!   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=757">DrTongue</a> — Fri Nov 18, 2005 5:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-18T08:39:47-04:00</updated>

		<published>2005-11-18T08:39:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57568#p57568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57568#p57568"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57568#p57568"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msgm - "*" proc:laina#seting respondiendo el Privadoset chan "#channel"proc proc:laina {nick uhost hand arg} { global chan set line [string trim $arg] if {$nick == "SeenServ"} {  puthelp "privmsg $chan : $nick You were asked NO private messages PLEASE' when you entered, thank you."  return 0 } if {[matchattr $hand o|o $chan]} { return 0 } puthelp "privmsg $chan : $nick You were asked NO private messages PLEASE' when you entered, thank you."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Nov 18, 2005 8:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DrTongue]]></name></author>
		<updated>2005-11-17T19:08:35-04:00</updated>

		<published>2005-11-17T19:08:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57539#p57539</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57539#p57539"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57539#p57539"><![CDATA[
Ok sorry....here is the script itself that makes the bot respond with a message in the channel:<br><br>bind msgm - "*" proc:laina<br>#seting respondiendo el Privado <br>set chan "#channel"<br>proc proc:laina {nick uhost hand arg} {<br>global chan<br>set line [string trim $arg]<br>if {$nick == "SeenServ"} {<br>puthelp "privmsg $chan : $nick You were asked NO private messages PLEASE' when you entered, thank you."<br>return 0<br>}<br><br>puthelp "privmsg $chan : $nick You were asked NO private messages PLEASE' when you entered, thank you."<br><br>}<br>return 0<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=757">DrTongue</a> — Thu Nov 17, 2005 7:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-17T18:51:56-04:00</updated>

		<published>2005-11-17T18:51:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57538#p57538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57538#p57538"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57538#p57538"><![CDATA[
No that's incorrect, show us your code so we could help you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 17, 2005 6:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DrTongue]]></name></author>
		<updated>2005-11-17T18:46:55-04:00</updated>

		<published>2005-11-17T18:46:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57536#p57536</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57536#p57536"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57536#p57536"><![CDATA[
So:<br><br>if {([matchattr $hand o|o])} {<br>return 0<br>}<br><br>???<br><br>And would $nick or nick be what I should use instead of $hand?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=757">DrTongue</a> — Thu Nov 17, 2005 6:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-17T18:34:17-04:00</updated>

		<published>2005-11-17T18:34:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57534#p57534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57534#p57534"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57534#p57534"><![CDATA[
There's no <strong class="text-strong">chan</strong> attribute in a <strong class="text-strong">msg</strong> or <strong class="text-strong">msgm</strong> bind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 17, 2005 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DrTongue]]></name></author>
		<updated>2005-11-17T18:19:22-04:00</updated>

		<published>2005-11-17T18:19:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57532#p57532</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57532#p57532"/>
		<title type="html"><![CDATA[command in .tcl to exclude ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57532#p57532"><![CDATA[
I have a .tcl that when someone in the channel private messages the bot, the bot itself says in channel:<br><br>"&lt;nick&gt; You were asked not to private message anyone when you entered."<br><br>The problem is when someone does it who is an op and they use /msg to op or IDENT or whatever, they receive this warning. I am trying to get the bot to reconize if this person has the +o flag to NOT give the channel message. I was trying:<br><br>if {([matchattr $hand o|o $chan])}       {<br>return 0<br>}<br><br>But it's not working. Any suggestions?<br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=757">DrTongue</a> — Thu Nov 17, 2005 6:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
