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

	<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>2005-08-09T10:58:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sarius]]></name></author>
		<updated>2005-08-09T10:58:14-04:00</updated>

		<published>2005-08-09T10:58:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53945#p53945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53945#p53945"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53945#p53945"><![CDATA[
Dude! It worked!<br><br>Thanks muchos!  <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 <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6559">sarius</a> — Tue Aug 09, 2005 10:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-09T10:02:45-04:00</updated>

		<published>2005-08-09T10:02:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53942#p53942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53942#p53942"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53942#p53942"><![CDATA[
Use<div class="codebox"><p>Code: </p><pre><code>bind msgm - "vm #channel1 *" msg:voiceme1</code></pre></div>This way the channel name is [lindex [split $arg] 1].<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 09, 2005 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarius]]></name></author>
		<updated>2005-08-09T09:52:36-04:00</updated>

		<published>2005-08-09T09:52:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53940#p53940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53940#p53940"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53940#p53940"><![CDATA[
Ok. I played around and this seemed to work.<br><div class="codebox"><p>Code: </p><pre><code>set vchan1 #channel1set vchan2 #channel2##### Channel 1 #####bind msg - voiceme1 msg:voiceme1proc msg:voiceme1 { nick host hand text } {global vchan1        global botnickif {![onchan $nick $vchan1]} {puthelp "NOTICE $nick :I do not see you on $vchan1"return 0}if {[isvoice $nick $vchan1]} {puthelp "NOTICE $nick :You already have +v on $vchan1. If you do not need use /msg $botnick devoiceme1"return 1}pushmode $vchan1 +v $nickputhelp "NOTICE $nick :Have fun and enjoy your stay here"return 1}##### Channel 2 #####bind msg - voiceme2 msg:voiceme2proc msg:voiceme2 { nick host hand text } {global vchan2        global botnickif {![onchan $nick $vchan2]} {puthelp "NOTICE $nick :I do not see you on $vchan2"return 0}if {[isvoice $nick $vchan2]} {puthelp "NOTICE $nick :You already have +v on $vchan2. If you do not need use /msg $botnick devoiceme2"return 1}pushmode $vchan2 +v $nickputhelp "NOTICE $nick :Have fun and enjoy your stay here"return 1}</code></pre></div>One question I have is, is it possible to bind 2 trigger wrods to one command? For example:<br><div class="codebox"><p>Code: </p><pre><code>bind msg - vm #channel1 msg:voiceme1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6559">sarius</a> — Tue Aug 09, 2005 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarius]]></name></author>
		<updated>2005-08-09T09:02:52-04:00</updated>

		<published>2005-08-09T09:02:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53939#p53939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53939#p53939"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53939#p53939"><![CDATA[
Hey Sir_Fz<br><br>Thanks for the prompt reply. It's all good except it assumes that the user is on both channels. So if the user is only on #channel, he'll receive the message:  "I do not see you on #channel2"<br><br>Is there anyway to make the bot scan which channels the user is on and then voice him in that channel without noticing him that he is not on the other channels in the script? Or do I need to bind another keyword like voiceme2?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6559">sarius</a> — Tue Aug 09, 2005 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-09T06:58:54-04:00</updated>

		<published>2005-08-09T06:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53935#p53935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53935#p53935"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53935#p53935"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set vchans "#channel #channel2"bind msg - voiceme msg:voiceme proc msg:voiceme { nick host hand text } {  global vchans botnick foreach vchan [split $vchans] {   if {![onchan $nick $vchan]} {    puthelp "NOTICE $nick :I do not see you on $vchan"    continue   }   if {[isvoice $nick $vchan]} {    puthelp "NOTICE $nick :You already have +v on $vchan. If you do not need use /msg $botnick devoiceme"    continue   }   pushmode $vchan +v $nick   puthelp "NOTICE $nick :Have fun and enjoy your stay here"  } return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Aug 09, 2005 6:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sarius]]></name></author>
		<updated>2005-08-09T06:09:06-04:00</updated>

		<published>2005-08-09T06:09:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53934#p53934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53934#p53934"/>
		<title type="html"><![CDATA[Pub Voiceme script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53934#p53934"><![CDATA[
Hi guys,<br><br>I searched the archive for the script in the topic and found voiceme.tcl by Silviu. However I think it's limited to only 1 channel. Can it be edited to include more than 1? Also, is this script secure to be allowed for pub? Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><div class="codebox"><p>Code: </p><pre><code>set vchan #channelbind msg - voiceme msg:voicemeproc msg:voiceme { nick host hand text } {global vchan        global botnickif {![onchan $nick $vchan]} {puthelp "NOTICE $nick :I do not see you on $vchan"return 0}if {[isvoice $nick $vchan]} {puthelp "NOTICE $nick :You already have +v on $vchan. If you do not need use /msg $botnick devoiceme"return 1}pushmode $vchan +v $nickputhelp "NOTICE $nick :Have fun and enjoy your stay here"return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6559">sarius</a> — Tue Aug 09, 2005 6:09 am</p><hr />
]]></content>
	</entry>
	</feed>
