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

	<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>2010-03-24T14:45:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-24T14:45:22-04:00</updated>

		<published>2010-03-24T14:45:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92591#p92591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92591#p92591"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92591#p92591"><![CDATA[
can you show me an example of a proper modified one?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Wed Mar 24, 2010 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-03-24T11:19:36-04:00</updated>

		<published>2010-03-24T11:19:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92589#p92589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92589#p92589"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92589#p92589"><![CDATA[
@ Football:<br>You are using the same names for your procs, which results in the later overwriting the previous one. Either use a different name on your procs, or considder merging the codes into a single proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Mar 24, 2010 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-24T04:30:50-04:00</updated>

		<published>2010-03-24T04:30:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92587#p92587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92587#p92587"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92587#p92587"><![CDATA[
I`ve added a second script, called it chelsea.tcl, but it doesn't work along with the previous code even though this is a more specific one and even though I've changed the flag, How do I make these two scripts work together?<br><div class="codebox"><p>Code: </p><pre><code>setudef flag chelsea bind join - {% CFC|*} voice:user bind nick - {% CFC|*} voice:user bind nick - * devoice:user proc voice:user {nick uhost hand chan {nn ""}} {  if { ![channel get $chan chelsea] } { return 0 }  if {$nn == ""} {set nn $nick}  if {![isvoice $nn $chan]} {   pushmode $chan +v $nn  } } proc devoice:user {nick uhost hand chan nn} {  if { ![channel get $chan chelsea] } { return 0 }  if {![string match -nocase CFC|* $nn] &amp;&amp; [isvoice $nn $chan]} {   pushmode $chan -v $nn }  } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Wed Mar 24, 2010 4:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Luminous]]></name></author>
		<updated>2010-03-22T21:36:17-04:00</updated>

		<published>2010-03-22T21:36:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92575#p92575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92575#p92575"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92575#p92575"><![CDATA[
Ah, right... I just wrote that out real quick upon discovering this thread, lol. Thanks. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11101">Luminous</a> — Mon Mar 22, 2010 9:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-03-22T19:45:11-04:00</updated>

		<published>2010-03-22T19:45:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92574#p92574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92574#p92574"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92574#p92574"><![CDATA[
@ Luminous:<br>The mask is correct, however, the number of arguments in your proc is incorrect; drop the "text" argument. Quoted from doc/tcl-commands.doc:<blockquote class="uncited"><div>    ( 8 )  JOIN (stackable)<br>         bind join &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt;<br><br>         Description: triggered by someone joining the channel. The mask in<br>           the bind is matched against "#channel nick!user@host" and can<br>           contain wildcards.<br>         Module: irc</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Mar 22, 2010 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Luminous]]></name></author>
		<updated>2010-03-22T19:40:33-04:00</updated>

		<published>2010-03-22T19:40:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92573#p92573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92573#p92573"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92573#p92573"><![CDATA[
I have a somewhat related question... I've been trying to get join binds to work for ages, but have never succeeded. I never tried it with {%...} though.. I guess that is why. If I wanted to kick someone joining under a nick, would something like this work? <div class="codebox"><p>Code: </p><pre><code>bind join - {% somenick!*@host.domain} kick:somenick proc kick:somenick {nick host hand chan test} {   putserv "KICK $chan $nick :You are banned."}</code></pre></div>Or would that mask not work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11101">Luminous</a> — Mon Mar 22, 2010 7:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-22T13:28:37-04:00</updated>

		<published>2010-03-22T13:28:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92569#p92569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92569#p92569"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92569#p92569"><![CDATA[
Works, Thank you very much!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Mon Mar 22, 2010 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2010-03-22T12:39:23-04:00</updated>

		<published>2010-03-22T12:39:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92565#p92565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92565#p92565"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92565#p92565"><![CDATA[
i think it will work like that, was wondering why theres a flag but nothings using it .. lets try the following:<br><div class="codebox"><p>Code: </p><pre><code>setudef flag tagvoicebind join - {% CFC|*} voice:userbind nick - {% CFC|*} voice:userbind join - {% AFC|*} voice:userbind nick - {% AFC|*} voice:userbind join - {% AVFC|*} voice:userbind nick - {% AVFC|*} voice:userbind join - {% LFC|*} voice:userbind nick - {% LFC|*} voice:userbind join - {% MU|*} voice:userbind nick - {% MU|*} voice:userbind join - {% NU|*} voice:userbind nick - {% NU|*} voice:userbind join - {% NUFC|*} voice:userbind nick - {% NUFC|*} voice:userbind join - {% BCFC|*} voice:userbind nick - {% BCFC|*} voice:userbind join - {% EPL|*} voice:userbind nick - {% EPL|*} voice:userbind join - {% THFC|*} voice:userbind nick - {% THFC|*} voice:userbind nick - * devoice:userproc voice:user {nick uhost hand chan {nn ""}} { if { ![channel get $chan tagvoice] } { return 0 } if {$nn == ""} {set nn $nick} if {![isvoice $nn $chan]} {  pushmode $chan +v $nn }}proc devoice:user {nick uhost hand chan nn} { if { ![channel get $chan tagvoice] } { return 0 } if {![string match -nocase CFC|* $nn] &amp;&amp; ![string match -nocase AFC|* $nn] &amp;&amp; ![string match -nocase AVFC|* $nn] &amp;&amp; ![string match -nocase LFC|* $nn] &amp;&amp; ![string match -nocase EPL|* $nn] &amp;&amp; ![string match -nocase MU|* $nn] &amp;&amp; ![string match -nocase BCFC|* $nn] &amp;&amp; ![string match -nocase NU|* $nn] &amp;&amp; ![string match -nocase NUFC|* $nn] &amp;&amp; ![string match -nocase THFC|* $nn] &amp;&amp; [isvoice $nn $chan]} {   pushmode $chan -v $nn} }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Mon Mar 22, 2010 12:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-22T12:33:25-04:00</updated>

		<published>2010-03-22T12:33:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92564#p92564</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92564#p92564"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92564#p92564"><![CDATA[
Well it works now, but the flag doesn't it totally ignores the flag and uses this script in every channel even though it's set to -tagvoice, how do I sort that?<br><div class="codebox"><p>Code: </p><pre><code>setudef flag tagvoice bind join - {% CFC|*} voice:user bind nick - {% CFC|*} voice:user bind join - {% AFC|*} voice:user bind nick - {% AFC|*} voice:user bind join - {% AVFC|*} voice:user bind nick - {% AVFC|*} voice:user bind join - {% LFC|*} voice:user bind nick - {% LFC|*} voice:user bind join - {% MU|*} voice:user bind nick - {% MU|*} voice:user bind join - {% NU|*} voice:user bind nick - {% NU|*} voice:user bind join - {% NUFC|*} voice:user bind nick - {% NUFC|*} voice:user bind join - {% BCFC|*} voice:user bind nick - {% BCFC|*} voice:user bind join - {% EPL|*} voice:user bind nick - {% EPL|*} voice:user bind join - {% THFC|*} voice:user bind nick - {% THFC|*} voice:user bind nick - * devoice:user proc voice:user {nick uhost hand chan {nn ""}} {  if {$nn == ""} {set nn $nick}  if {![isvoice $nn $chan]} {   pushmode $chan +v $nn  } } proc devoice:user {nick uhost hand chan nn} {  if {![string match -nocase CFC|* $nn] &amp;&amp; ![string match -nocase AFC|* $nn] &amp;&amp; ![string match -nocase AVFC|* $nn] &amp;&amp; ![string match -nocase LFC|* $nn] &amp;&amp; ![string match -nocase EPL|* $nn] &amp;&amp; ![string match -nocase MU|* $nn] &amp;&amp; ![string match -nocase BCFC|* $nn] &amp;&amp; ![string match -nocase NU|* $nn] &amp;&amp; ![string match -nocase NUFC|* $nn] &amp;&amp; ![string match -nocase THFC|* $nn] &amp;&amp; [isvoice $nn $chan]} {    pushmode $chan -v $nn } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Mon Mar 22, 2010 12:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-03-22T11:43:42-04:00</updated>

		<published>2010-03-22T11:43:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92561#p92561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92561#p92561"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92561#p92561"><![CDATA[
Seems to be one } missing at the end of devoice:user.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Mar 22, 2010 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-22T08:47:19-04:00</updated>

		<published>2010-03-22T08:47:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92558#p92558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92558#p92558"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92558#p92558"><![CDATA[
This didn't work for me..<br><div class="codebox"><p>Code: </p><pre><code>setudef flag tagvoicebind join - {% CFC|*} voice:user bind nick - {% CFC|*} voice:user bind join - {% AFC|*} voice:user bind nick - {% AFC|*} voice:userbind join - {% AVFC|*} voice:user bind nick - {% AVFC|*} voice:userbind join - {% LFC|*} voice:user bind nick - {% LFC|*} voice:userbind join - {% MU|*} voice:user bind nick - {% MU|*} voice:userbind join - {% NU|*} voice:user bind nick - {% NU|*} voice:userbind join - {% NUFC|*} voice:user bind nick - {% NUFC|*} voice:userbind join - {% BCFC|*} voice:user bind nick - {% BCFC|*} voice:userbind join - {% EPL|*} voice:user bind nick - {% EPL|*} voice:userbind nick - * devoice:user proc voice:user {nick uhost hand chan {nn ""}} {  if {$nn == ""} {set nn $nick}  if {![isvoice $nn $chan]} {   pushmode $chan +v $nn  } } proc devoice:user {nick uhost hand chan nn} {  if {![string match -nocase CFC|* $nn] &amp;&amp; ![string match -nocase AFC|* $nn] &amp;&amp; ![string match -nocase AVFC|* $nn] &amp;&amp; ![string match -nocase LFC|* $nn] &amp;&amp; ![string match -nocase EPL|* $nn] &amp;&amp; ![string match -nocase MU|* $nn] &amp;&amp; ![string match -nocase BCFC|* $nn] &amp;&amp; ![string match -nocase NU|* $nn] &amp;&amp; ![string match -nocase NUFC|* $nn] &amp;&amp; [isvoice $nn $chan]} {    pushmode $chan -v $nn  } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Mon Mar 22, 2010 8:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-03-22T03:23:48-04:00</updated>

		<published>2010-03-22T03:23:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92556#p92556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92556#p92556"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92556#p92556"><![CDATA[
easy way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> add <div class="codebox"><p>Code: </p><pre><code>bind join - {% AFC|*} voice:userbind nick - {% AFC|*} voice:user </code></pre></div> change <div class="codebox"><p>Code: </p><pre><code> if {![string match -nocase CFC|* $nn] &amp;&amp; [isvoice $nn $chan]} { </code></pre></div> for <div class="codebox"><p>Code: </p><pre><code> if {![string match -nocase CFC|* $nn] &amp;&amp; ![string match -nocase AFC|* $nn] &amp;&amp; [isvoice $nn $chan]} { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Mon Mar 22, 2010 3:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-21T18:05:59-04:00</updated>

		<published>2010-03-21T18:05:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92552#p92552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92552#p92552"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92552#p92552"><![CDATA[
Yeah it works, but what if I want more than one tag<br>It says how to define TAG|Nick, what if I want a few more defined tags?<br><div class="codebox"><p>Code: </p><pre><code>bind join - {% CFC|*} voice:user bind nick - {% CFC|*} voice:user bind nick - * devoice:user proc voice:user {nick uhost hand chan {nn ""}} {  if {$nn == ""} {set nn $nick}  if {![isvoice $nn $chan]} {   pushmode $chan +v $nn  } } proc devoice:user {nick uhost hand chan nn} {  if {![string match -nocase CFC|* $nn] &amp;&amp; [isvoice $nn $chan]} {   pushmode $chan -v $nn  } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Sun Mar 21, 2010 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-03-21T17:11:52-04:00</updated>

		<published>2010-03-21T17:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92551#p92551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92551#p92551"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92551#p92551"><![CDATA[
There's a few of these around the forum already, most commonly used is <a href="http://forum.egghelp.org/viewtopic.php?t=13475" class="postlink">this one</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Mar 21, 2010 5:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-03-21T14:36:00-04:00</updated>

		<published>2010-03-21T14:36:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92548#p92548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92548#p92548"/>
		<title type="html"><![CDATA[Voice tag nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92548#p92548"><![CDATA[
Hey,<br><br>I need a script that will voice anyone who changes his nick to CFC|* or AFC|* or joins with that kind of nick and will devoice the user if he changes his nick to a nick that doesn't include those tags.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Sun Mar 21, 2010 2:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
