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

	<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-09-22T10:01:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-22T10:01:11-04:00</updated>

		<published>2002-09-22T10:01:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11233#p11233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11233#p11233"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11233#p11233"><![CDATA[
Well, it is a 'very complicated' script infact. It will mostly likely not work with people who do mass /nick by means of scripting or something. So, like i said, stick to what you have now, it will work in %99.999 cases. If someone changed nick by accident and didn't get their vocie, they can just /cycle, otherwise, if they did it on purpose, i guess they don't even deserve +v.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Sun Sep 22, 2002 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-21T23:52:09-04:00</updated>

		<published>2002-09-21T23:52:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11221#p11221</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11221#p11221"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11221#p11221"><![CDATA[
Thanks darko`` - but i think i am lost , i have tried to search a script doing that, but couldn't find it, i think this will be good for all tcl users.....if you don't mind, could you please write an example or something...if you have a time?<br><br>thanks<br>regards<br>aw<p>Statistics: Posted by Guest — Sat Sep 21, 2002 11:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-21T07:24:51-04:00</updated>

		<published>2002-09-21T07:24:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11213#p11213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11213#p11213"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11213#p11213"><![CDATA[
Well, that's a bit more complicated stuff. You can of course do that by setting another bind to catch nickname changes, have some global list where you would store last 5-10 nickname changes, check the nick you want to voice against that list, and update information if it is found to be changed. Even tho the 'perfect' voice script should have that functionlaity, i recon nickname change exactly at a very moment of voicing is very rare, so you probably don't really need it.<br><br>On the other hand, this is a perfect chance to improve your scripting skills.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Sat Sep 21, 2002 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-20T22:04:51-04:00</updated>

		<published>2002-09-20T22:04:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11206#p11206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11206#p11206"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11206#p11206"><![CDATA[
Thanks guys, i got it, but now if user changes his/her nick at the channel before gets voice, how do i set this check?so his/her new nick will get a voice?<br><br>thanks<br>aw<p>Statistics: Posted by Guest — Fri Sep 20, 2002 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kain]]></name></author>
		<updated>2002-09-17T17:06:33-04:00</updated>

		<published>2002-09-17T17:06:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11027#p11027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11027#p11027"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11027#p11027"><![CDATA[
or to save you time, you could just use or check the code out in <a href="http://www.egghelp.org/files/tcl/avonjoin.zip" class="postlink">AvOnJoin</a><br>simple public .av on/off per channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=981">kain</a> — Tue Sep 17, 2002 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darko``]]></name></author>
		<updated>2002-09-17T14:54:19-04:00</updated>

		<published>2002-09-17T14:54:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11022#p11022</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11022#p11022"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11022#p11022"><![CDATA[
You could:<br>1) Remove the exiting bind join from your code.<br>2) Create dcc commands .voiceon .voiceoff by binding dcc<br>3) Procedure bound to .voiceon will have one line of code creating a new bind join<br>4) Procedure bound to .voiceoff will have one line of code destroying the previous bind: unbind join.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1881">darko``</a> — Tue Sep 17, 2002 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T17:41:29-04:00</updated>

		<published>2002-09-16T17:41:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10977#p10977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10977#p10977"/>
		<title type="html"><![CDATA[voice on/off]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10977#p10977"><![CDATA[
Hi,<br>i'll really apprecite if someone can help me to set a  on/off switcher in dcc, so i can turn off or on in dcc<br>thanks<br>## allvoice.tcl<br>##  - voices everyone in a channel when they join<br><br><br># What channels should this work on?<br>#  - note, "" is for all channels<br>set avchan ""<br><br>## Begin the code<br><br>bind join - * avjoin<br><br>proc avjoin {nick uhost hand chan} {<br> global avchan botnick<br> if {$nick == $botnick} {return 0}<br> if {$avchan == "" &amp;&amp; [botisop $chan]} {<br>  pushmode $chan +v $nick<br>  return 0<br> }<br> set chan [string tolower $chan]<br> foreach i [string tolower $avchan] {<br>  if {$i == $chan &amp;&amp; [botisop $chan]} {<br>   pushmode $chan +v $nick<br>   return 0<br>  }<br> }<br>}<br><br><br>regards<br>aw<p>Statistics: Posted by Guest — Mon Sep 16, 2002 5:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
