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

	<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>2007-08-30T04:09:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-08-30T04:09:07-04:00</updated>

		<published>2007-08-30T04:09:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75562#p75562</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75562#p75562"/>
		<title type="html"><![CDATA[Voice joiners to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75562#p75562"><![CDATA[
ok, I don't know mirc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>and yes, alchera's way is much easier but i thought he was looking for an tcl-script. and i was bored... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>regards,<br><br>-typ-<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Thu Aug 30, 2007 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2007-08-29T19:51:58-04:00</updated>

		<published>2007-08-29T19:51:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75558#p75558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75558#p75558"/>
		<title type="html"><![CDATA[Voice joiners to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75558#p75558"><![CDATA[
<blockquote class="uncited"><div>this would be the same as tcl:<br><div class="codebox"><p>Code: </p><pre><code>if {![regexp -nocase -- $nick $criteria] || $channel != $voicechannel} {</code></pre></div></div></blockquote>that isn't equivalent to $left($nick,6)... remember, he used "<em class="text-italics">if <strong class="text-strong">$left($nick,6)</strong> == [Clan]</em>"<div class="codebox"><p>Code: </p><pre><code>if {![string match [join [lrange [split $nick] 0 5]] $criteria] || $channel != $voicechannel} {</code></pre></div>This is actually closer to $left's function in mirc/basic. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br>But all this is actually irrelevant, as using eggdrops "built-in" capability (aka, Alchera's suggestion) to do this supersedes in both speed and function the equivalent in a tcl script.<br><br>Alchera most likely meant to use <em class="text-italics">.+host [Clan] [Clan]*!*@*</em> as well. So any person using the [clan] prefix on their nickname would be voiced and match the entry.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed Aug 29, 2007 7:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cannot_delete]]></name></author>
		<updated>2007-08-29T17:32:05-04:00</updated>

		<published>2007-08-29T17:32:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75555#p75555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75555#p75555"/>
		<title type="html"><![CDATA[Voice joiners to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75555#p75555"><![CDATA[
this would be the same as tcl:<br><div class="codebox"><p>Code: </p><pre><code>#check on join: bind join - * voice_on_joined #procedere on join: proc voice_on_joined {nick host handle channel} {   #set the name of your chanserv. just "chanserv" won't work.   set chanserv "chanserv@services.gamesurge.net"   #set the channel in which the user will be voiced. $channel will be all   set voicechannel "#Quiz.de"   #setting criteria  set criteria "\[Clan\]"   if {![regexp -nocase -- $nick $criteria] || $channel != $voicechannel} {      #if nick won't match the criteria or nick doesnt join the right channel  the script will halt    return     }     #sending voice-command to chanserv     putquick "PRIVMSG $chanserv :$channel voice $nick"   }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8421">cannot_delete</a> — Wed Aug 29, 2007 5:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-08-25T19:49:34-04:00</updated>

		<published>2007-08-25T19:49:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75500#p75500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75500#p75500"/>
		<title type="html"><![CDATA[Voice joiners to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75500#p75500"><![CDATA[
Add a user using the required nick as a host and setting the channel flags '+fg'.<br><div class="codebox"><p>Code: </p><pre><code>.+user [Clan].+host [Clan] [Clan]!*@*.chattr [Clan] +fg #channel</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Aug 25, 2007 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maxie]]></name></author>
		<updated>2007-08-25T18:02:35-04:00</updated>

		<published>2007-08-25T18:02:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75499#p75499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75499#p75499"/>
		<title type="html"><![CDATA[Voice joiners to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75499#p75499"><![CDATA[
Hopefully this should be fairly simple. <br><br>Hope you can provide a tcl equivalent of this mrc code :-<br><br>ON *:JOIN:#:{<br>  if $left($nick,6) == [Clan] &amp;&amp; $me isop # &amp;&amp; $nick != $me { mode # +v $nick }<br>}<br><br><br>Basically channels where the bot is an op to voice users who's nick match certain criteria i.e. their names are [Clan].<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9255">maxie</a> — Sat Aug 25, 2007 6:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
