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

	<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>2003-01-09T18:58:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-09T18:58:19-04:00</updated>

		<published>2003-01-09T18:58:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15108#p15108</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15108#p15108"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15108#p15108"><![CDATA[
Ok guys,<br><br>Everything I have needed is working now - perfectly. Thankyou VERY VERY much. You have all been great and if I see you about, I'll buy you a drink <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>Thanks again all,<br><br>- type.<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 Guest — Thu Jan 09, 2003 6:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-09T18:36:16-04:00</updated>

		<published>2003-01-09T18:36:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15107#p15107</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15107#p15107"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15107#p15107"><![CDATA[
If you read tcl-commands.doc, the mas/keyword portion of the join bind, matches two elements.<br><br>The channel name, and the nick!user@host of the user joinging. This can allow it retricted to isps, or nicknames.<br><br>For all channels, use "*" and not "* *".<br><br>Again, see tcl-commands.doc for a list of wildcards that can be used, and there meaning.<br><br>* with match any character and whitespace.<br><br>Thus, "* *" simply means that the string must have a space in the middle.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Jan 09, 2003 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-09T18:03:43-04:00</updated>

		<published>2003-01-09T18:03:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15106#p15106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15106#p15106"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15106#p15106"><![CDATA[
Just another two quick questions, Papillon ...<br><br>This is what I have atm (just to test I am getting the hang of it) ...<br><div class="codebox"><p>Code: </p><pre><code>bind join - "#.Power *" check:priorityproc check:priority {nick host hand chan} {        if {[matchchanattr $hand m]} {                pushmode $chan +v $nick                puthelp "NOTICE $nick :You are a .Master!"                return 0        }}</code></pre></div>What that does is voice a user who has a global "m" flag in #.Power.<br>What exactly does the "#.Power *" mean ? And ... when you say make the #chan a * for it to apply to any channel does that mean it would be "* *" ? or just "*" ?<br><br>- type.<p>Statistics: Posted by Guest — Thu Jan 09, 2003 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-09T16:56:50-04:00</updated>

		<published>2003-01-09T16:56:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15100#p15100</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15100#p15100"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15100#p15100"><![CDATA[
Hi Papillon,<br><br>Yeh, that works. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Thanks. But what if I needed (in future) to check in the IF ?<br><br>I'm assuming it's not <div class="codebox"><p>Code: </p><pre><code> if {[matchattr $hand -|o $chan]} { body } </code></pre></div>- type.<p>Statistics: Posted by Guest — Thu Jan 09, 2003 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-01-08T17:41:27-04:00</updated>

		<published>2003-01-08T17:41:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15035#p15035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15035#p15035"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15035#p15035"><![CDATA[
first of all.. .your bind is wrong... bind type flag trigger proc<br><div class="codebox"><p>Code: </p><pre><code>bind join -|o "#chan *" check:priority proc check:priority {nick host hand chan} {         pushmode $chan +v $nick } </code></pre></div>that's all you need really <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> replace #chan with * if you want it to apply to all channels<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Jan 08, 2003 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-08T17:24:15-04:00</updated>

		<published>2003-01-08T17:24:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15031#p15031</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15031#p15031"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15031#p15031"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join * check:priorityproc check:priority {nick host hand chan} {        if {[matchattr $hand -|o]} {                pushmode $chan +v $nick                return 0        }        return 0}</code></pre></div>I just dont understand why this isn't working. It's meant to voice a user who has a channel flag of "o" on the $chan when they join. <br><br>Is it staring me right in the face !? I've tried EVERYTHING i can think of.<br><br>- type<p>Statistics: Posted by Guest — Wed Jan 08, 2003 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-08T16:41:04-04:00</updated>

		<published>2003-01-08T16:41:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15029#p15029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15029#p15029"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15029#p15029"><![CDATA[
Hi Papillon,<br><br>So this should work ?<br><div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand -|o]} { body }</code></pre></div>- type<p>Statistics: Posted by Guest — Wed Jan 08, 2003 4:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-01-08T04:33:50-04:00</updated>

		<published>2003-01-08T04:33:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14988#p14988</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14988#p14988"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14988#p14988"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>matchattr $hand o|o</code></pre></div>this will match global and channel flags, in this case "o"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Jan 08, 2003 4:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-07T19:14:23-04:00</updated>

		<published>2003-01-07T19:14:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14979#p14979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14979#p14979"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14979#p14979"><![CDATA[
Yeh it's sort of an exercise. I'll have to have another look tomorrow cuz I'm tired n stuff. <br><br>Thanks,<br><br>- type<p>Statistics: Posted by Guest — Tue Jan 07, 2003 7:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-07T18:52:56-04:00</updated>

		<published>2003-01-07T18:52:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14977#p14977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14977#p14977"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14977#p14977"><![CDATA[
ok what i meant was:<br><br>you can .chattr handle +v #chan<br>+ .chanset #chan +autovoice<br><br>or .chattr handle +g #chan<br><br>to have someone autovoiced.<br><br>on the other hand, you could be doing this as a sortof 'exercise'<br>to learn more of the tcl language.<br><br>but i dont know which.<br><br>the only place ive seen 'matchchanattr' is in an old guide for 1.1.5<br><br>in tcl-commands the following is mentioned:<br><br>  matchattr &lt;handle&gt; &lt;flags&gt; [channel]<br>    returns: "1" if the specified user has the matching flags.<br>    (using the new matching system)<br><br>im unable to test this myself at the moment.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Tue Jan 07, 2003 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-07T18:33:24-04:00</updated>

		<published>2003-01-07T18:33:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14976#p14976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14976#p14976"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14976#p14976"><![CDATA[
Huh ?<p>Statistics: Posted by Guest — Tue Jan 07, 2003 6:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-07T18:16:53-04:00</updated>

		<published>2003-01-07T18:16:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14975#p14975</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14975#p14975"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14975#p14975"><![CDATA[
are you doing a 'learn tcl exercise'<br>or dont you know about the voice(v) autovoice(g) flags :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Tue Jan 07, 2003 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-07T18:08:20-04:00</updated>

		<published>2003-01-07T18:08:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14974#p14974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14974#p14974"/>
		<title type="html"><![CDATA[Another question ....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14974#p14974"><![CDATA[
Ok, completely different from my previous problem (which was originally about something completely different) but I thought I'd just stick to one chain. hehe. <br><br>Err ... my friend now wants my bot (cuz it's starting to look pretty nifty thanks to you guys) in his channel. I have set the users' flags on the bot to global (cuz I didn't even think that it would be in more than one channel). I've now removed all global o flags and made them channel specific ...<br><div class="codebox"><p>Code: </p><pre><code>HANDLE    PASS NOTES FLAGS           LASTalex      yes      0 jmnoptx         21:59 (#.Power   )   #.Power            om              21:59  HOSTS: -telnet!*@*, *!type@123.12.*, *!type@*.192.O072=JinXy     yes      0 jmnoptx         21:44 (partyline )  HOSTS: *!noneya@321.107.99.*Dr\\tz`{A yes      0 jptx            17:54 (#.Power   )   #.Power            o               never  HOSTS: *!Death@21.4.76.*Angelic`{ yes      0 jptx            17:02 (#.Power   )   #.Power            o               never  HOSTS: *!Immortal1@12.70.93.*</code></pre></div>Anywayyyy ....<br><br>I want a script that voices the channel specific o flags (and sends them a lil message, but that's easy so I'm leaving that till last) and m flags.<br><br>This is what I have ...<br><div class="codebox"><p>Code: </p><pre><code>bind join * check:priorityproc check:priority {nick host hand chan} {        if {[matchchanattr $hand m $chan]} {                pushmode $chan +v $nick                return 0        }        if {[matchchanattr $hand o $chan]} {                pushmode $chan +v $nick                return 0        }        return 0}</code></pre></div>It will make me a voice, but I'm wondering if thats because I'm a global "op", but it wont give anyone who has an "o" channel flag a voice. Any obvious reasons ? I have tried EVERYTHING.<br><br>- type<p>Statistics: Posted by Guest — Tue Jan 07, 2003 6:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-07T17:38:36-04:00</updated>

		<published>2003-01-07T17:38:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14970#p14970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14970#p14970"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14970#p14970"><![CDATA[
Ahhhhhh riiiiiggghhhhhtttt!!!!!!!!!!!!! LOL. ok ok. It's logical but I wouldn't think of that. hehe<br><br>Thanks ppslim!! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Hehe photon. Yeh well, it must be somefin to do with my enthusiasm to actually learn somefin <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Tell you what, when I finally got this script working I'm going out to celebrate <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> more. beer.<br><br>- type.<p>Statistics: Posted by Guest — Tue Jan 07, 2003 5:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2003-01-07T17:36:15-04:00</updated>

		<published>2003-01-07T17:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14969#p14969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14969#p14969"/>
		<title type="html"><![CDATA[Help!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14969#p14969"><![CDATA[
woo, you are honoured ... SEVERAL long explanations from the wuvverly ppslim...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>*ahem*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Tue Jan 07, 2003 5:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
