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

	<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-06-04T19:04:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-04T19:04:48-04:00</updated>

		<published>2005-06-04T19:04:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50246#p50246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50246#p50246"/>
		<title type="html"><![CDATA[a little help...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50246#p50246"><![CDATA[
You could always setup a test bot and try it on there first  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Jun 04, 2005 7:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2005-06-04T18:50:28-04:00</updated>

		<published>2005-06-04T18:50:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50245#p50245</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50245#p50245"/>
		<title type="html"><![CDATA[a little help...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50245#p50245"><![CDATA[
thanks, was little paranoid to try it before someone else told me i hadn't gone nuts! lol<br><br>with over a thousand members, I'd REALLY get yelled at if it was screwed up. they have no mercy!<br><br> <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=4907">tonyokc</a> — Sat Jun 04, 2005 6:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-06-04T17:28:24-04:00</updated>

		<published>2005-06-04T17:28:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50239#p50239</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50239#p50239"/>
		<title type="html"><![CDATA[a little help...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50239#p50239"><![CDATA[
It looks ok to me. you have the right syntax for passwdok too.<br><blockquote class="uncited"><div>passwdok &lt;handle&gt; &lt;pass&gt;<br>Description: checks the password given against the user's password. Check against the password "" (a blank string) or "-" to find out if a user has no password set.<br><br>Returns: 1 if the password matches for that user; 0 otherwise</div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind join - * checkpassproc checkpass { nick host handle chan } {    if {[matchattr $handle |o $chan] &amp;&amp; ([passwdok $handle ""] == 1)} {        putserv "NOTICE $nick :You need to set a password with the bot to activate ops, type: /msg bot pass password_you_want"        putserv "PRIVMSG $nick :You need to set a password with the bot to activate ops, type: /msg bot pass password_you_want"    }} </code></pre></div>Nice one, now just try it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Jun 04, 2005 5:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyokc]]></name></author>
		<updated>2005-06-04T16:36:03-04:00</updated>

		<published>2005-06-04T16:36:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50235#p50235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50235#p50235"/>
		<title type="html"><![CDATA[a little help...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50235#p50235"><![CDATA[
I'm a total amateur at this, and need help on format of a small TCL. I would appreciate knowing if this is correct syntax, or if not, where I have gone astray...<br><br>I want to check on join, if a user is:<br>  a&gt; is marked an op<br>  b&gt; but has not set a pass<br>  c&gt; I know I'm going to send the message twice, the notice is a backup if the user has a pm blocked (as so many do)<br>  <br>  ===<br>  bind join - * checkpass <br>    <br>  proc checkpass { nick host handle chan } {<br>   if {[matchattr $handle |o $chan] &amp;&amp; ([passwdok $handle ""] == 1)} { <br>     putserv "NOTICE $nick :You need to set a password with the bot to activate ops, type: /msg bot pass password_you_want"<br>     putserv "PRIVMSG $nick :You need to set a password with the bot to activate ops, type: /msg bot pass password_you_want"<br>   }<br>  }<br>===<br><br>Thanks for any assistance,<br>Tony<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4907">tonyokc</a> — Sat Jun 04, 2005 4:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
