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

	<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>2009-04-01T18:22:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2009-04-01T18:22:55-04:00</updated>

		<published>2009-04-01T18:22:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88256#p88256</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88256#p88256"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88256#p88256"><![CDATA[
I can request two improvements?<br><br>1) Work with specific channels (.chanset #channel +tag);<br>2) Accept multi-tag config to auto voice/devoice.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Wed Apr 01, 2009 6:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Randomircguy]]></name></author>
		<updated>2008-05-11T11:58:45-04:00</updated>

		<published>2008-05-11T11:58:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82883#p82883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82883#p82883"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82883#p82883"><![CDATA[
I can't make this work.. Help please! I paste it and change "TAG" but it still wont voice...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9917">Randomircguy</a> — Sun May 11, 2008 11:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-13T08:17:20-04:00</updated>

		<published>2007-05-13T08:17:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72733#p72733</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72733#p72733"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72733#p72733"><![CDATA[
If the bot is not opped, the command won't be sent to the server (pushmode features).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 13, 2007 8:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-05-13T07:19:40-04:00</updated>

		<published>2007-05-13T07:19:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72727#p72727</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72727#p72727"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72727#p72727"><![CDATA[
You don't normally need botisop for these type of scripts executing just simple mode change commands. If the bot is not opped, it will not give an error for the script in the partyline and will not change the channel mode +v/-v, but will continue to execute the script further onwards.<br><br>The bot will however send a request to the server for mode change, but due to the non-op status, server/client will return not-opped status.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun May 13, 2007 7:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2007-05-12T16:09:25-04:00</updated>

		<published>2007-05-12T16:09:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72716#p72716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72716#p72716"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72716#p72716"><![CDATA[
What about a 'botisop' check?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat May 12, 2007 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2007-05-12T15:47:39-04:00</updated>

		<published>2007-05-12T15:47:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72709#p72709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72709#p72709"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72709#p72709"><![CDATA[
Oh, no i didnt notice that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Sorry. It works perfectly!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8985">nsrafk</a> — Sat May 12, 2007 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-12T15:38:37-04:00</updated>

		<published>2007-05-12T15:38:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72708#p72708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72708#p72708"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72708#p72708"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {![string match -nocase tag|* $nn] &amp;&amp; [isvoice $nn $chan]} {</code></pre></div>did you change "tag" to your actual TAG in this line?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 12, 2007 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2007-05-12T14:04:23-04:00</updated>

		<published>2007-05-12T14:04:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72702#p72702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72702#p72702"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72702#p72702"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - {% TAG|*} voice:userbind nick - {% TAG|*} voice:userbind nick - * devoice:userproc 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 tag|* $nn] &amp;&amp; [isvoice $nn $chan]} {  pushmode $chan -v $nn }}</code></pre></div>This works great, theres just one problem:<br><br>If nick TAG|bla changes nick to TAG|test then the script will devoice him. Any suggestions? <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=8985">nsrafk</a> — Sat May 12, 2007 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-05-11T13:30:19-04:00</updated>

		<published>2007-05-11T13:30:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72665#p72665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72665#p72665"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72665#p72665"><![CDATA[
<blockquote class="uncited"><div>...<br>I don't think bind join will work, since the proc for bind join should only have 4 parameters, nick, uhost, hand and chan.. whereas this one has 5 which is nn.</div></blockquote>I believe you failed to notice that the last argument has a default-value, allowing the proc to handle 4 or 5 arguments.<br>I suppose the same effect could be achieved using args and "lindex $args end", although Sir_Fz's way works equally well...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri May 11, 2007 1:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2007-05-11T12:09:34-04:00</updated>

		<published>2007-05-11T12:09:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72661#p72661</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72661#p72661"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72661#p72661"><![CDATA[
Sir_Fz thanks man, your script works just as i want it to!<br>Thanks a bunch!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8985">nsrafk</a> — Fri May 11, 2007 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-05-11T11:11:59-04:00</updated>

		<published>2007-05-11T11:11:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72659#p72659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72659#p72659"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72659#p72659"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind join - {% TAG|*} voice:userbind nick - {% TAG|*} voice:userbind nick - * devoice:userproc 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 tag|* $nn] &amp;&amp; [isvoice $nn $chan]} {  pushmode $chan -v $nn }}</code></pre></div></div></blockquote>I don't think bind join will work, since the proc for bind join should only have 4 parameters, nick, uhost, hand and chan.. whereas this one has 5 which is nn.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri May 11, 2007 11:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-12T15:57:11-04:00</updated>

		<published>2007-05-11T10:30:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72658#p72658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72658#p72658"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72658#p72658"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Edit 'TAG' to your desired tagbind join - {% TAG|*} voice:userbind nick - {% TAG|*} voice:userbind nick - * devoice:userproc voice:user {nick uhost hand chan {nn ""}} { if {$nn == ""} {set nn $nick} if {![isvoice $nn $chan]} {  pushmode $chan +v $nn }}# Also edit 'tag' here to your desired tagproc devoice:user {nick uhost hand chan nn} { if {![string match -nocase tag|* $nn] &amp;&amp; [isvoice $nn $chan]} {  pushmode $chan -v $nn }}</code></pre></div>Edit: Added comments indicating where to edit tags<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 11, 2007 10:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2007-05-11T08:53:17-04:00</updated>

		<published>2007-05-11T08:53:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72655#p72655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72655#p72655"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72655#p72655"><![CDATA[
Here is the first part for auto-voice, which I understood clearly:<br><div class="codebox"><p>Code: </p><pre><code>set voicenicks {"nick1""nick2"}set voicechan "#mychan"bind join - "*" voice:nicksproc voice:nicks {nick uhost hand chan} { global voicenicks voicechan  if {[string equal -nocase $voicechan $chan]} {   foreach user $voicenicks {    if {[string equal -nocase $user $nick]} {     putserv "MODE $chan +v $nick"; break   }  } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri May 11, 2007 8:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2007-05-11T00:29:27-04:00</updated>

		<published>2007-05-11T00:29:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72644#p72644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72644#p72644"/>
		<title type="html"><![CDATA[voice on specific nicks, both on join and nickchange]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72644#p72644"><![CDATA[
Hi all.<br><br>First post here. I need a script which will voice people who joins a specific channel with a specific nick. Ill make example:<br><br>TAG|User joins #somechannel<br>Eggie gives +v to him.<br><br>Now, if he changes nick to User, the eggie should now devoice him.<br>The same thing goes if:<br><br>User joins #somechannel<br>- nothing happens<br>User changes nick to TAG|User<br>Eggie gives +v<br><br>--- And again, eggie should devoice if User changes nick to something without TAG.<br><br>Is this possible? And yes, ive tried to search tcl archive, but dunno what im searching for :/<br><br>Thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8985">nsrafk</a> — Fri May 11, 2007 12:29 am</p><hr />
]]></content>
	</entry>
	</feed>
