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

	<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>2002-03-11T12:24:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-11T12:24:00-04:00</updated>

		<published>2002-03-11T12:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5240#p5240</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5240#p5240"/>
		<title type="html"><![CDATA[help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5240#p5240"><![CDATA[
hi there and thanks for your post<br><br>i cant get it to work,<br><div class="codebox"><p>Code: </p><pre><code>bind join - "#b4 *!*@*" join:inviteproc join:invite {nick uhost hand chan} {  # Check if the user has either +o #test2 or global +o:  if {![matchattr $hand o|o #b4]} { return }  # Invite the user:  putserv "INVITE $nick #b4"}</code></pre></div>the chan it should be checking in is #khn (if the user joins #khn, invite to #b4)<br><br>so i changed the <blockquote class="uncited"><div>bind join - "#b4 *!*@*" join:invite</div></blockquote> to <blockquote class="uncited"><div>bind join - "#khn *!*@*" join:invite</div></blockquote>but it didnt do the trick<br><br>what should i do?<br><br>best regards<br>Johan<p>Statistics: Posted by Guest — Mon Mar 11, 2002 12:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-10T21:18:00-04:00</updated>

		<published>2002-03-10T21:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5214#p5214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5214#p5214"/>
		<title type="html"><![CDATA[help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5214#p5214"><![CDATA[
1.<div class="codebox"><p>Code: </p><pre><code>bind join - "#test2 *!*@*" join:inviteproc join:invite {nick uhost hand chan} {  # Check if the user has either +o #test2 or global +o:  if {![matchattr $hand o|o #test2]} { return }  # Invite the user:  putserv "INVITE $nick #test2"}</code></pre></div>2. Read <a href="http://www.scriptics.com/man/tcl8.3/TclCmd/glob.htm" class="postlink">http://www.scriptics.com/man/tcl8.3/TclCmd/glob.htm</a> and <a href="http://www.scriptics.com/man/tcl8.3/TclCmd/file.htm" class="postlink">http://www.scriptics.com/man/tcl8.3/TclCmd/file.htm</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sun Mar 10, 2002 9:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-10T11:41:00-04:00</updated>

		<published>2002-03-10T11:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5208#p5208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5208#p5208"/>
		<title type="html"><![CDATA[help with a script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5208#p5208"><![CDATA[
hi there, <br><br>ive looked through the suninet faq but cant find how to bind invites on joins (im a noob i know <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile">) so i would really appreciate some help<br><br>if a user with have the flags +o in the chan #test joins #test2 the script would check if the user has the flag +o in #test. if he has, invite him to #test<br><br><br>i was also wondering if there is a way to get file attributes (like date, rights) via TCL commands or do u have to format the output from a 'ls -al' command or something<br><br>the thing i want to do is list recursively through some directories and return the file which has been updated most recently<br><br>thanks for reading,<br>best regards<br>Johan<br><br>&lt;font size=-1&gt;[ This Message was edited by: Lfe on 2002-03-10 08:41 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Sun Mar 10, 2002 11:41 am</p><hr />
]]></content>
	</entry>
	</feed>
