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

	<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>2008-09-19T10:45:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[game_over]]></name></author>
		<updated>2008-09-19T10:45:09-04:00</updated>

		<published>2008-09-19T10:45:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85224#p85224</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85224#p85224"/>
		<title type="html"><![CDATA[playing a sound when triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85224#p85224"><![CDATA[
I can tell you how this may happen on WINDOWS<br><br>write on your cmd this<br><div class="codebox"><p>Code: </p><pre><code>sndrec32 /play /close C:\Windows\Media\Notify.wav</code></pre></div>now on tcl :example:<div class="codebox"><p>Code: </p><pre><code>set sound "C:/Windows/Media/Notify.wav"set playsound [exec sndrec32 /play /close $sound]</code></pre></div>on LINUX <br><br><a href="http://linux.about.com/library/bl/open/newbie/blnewbie5.18.htm" class="postlink">http://linux.about.com/library/bl/open/ ... ie5.18.htm</a><br><div class="codebox"><p>Code: </p><pre><code>set sound "path" set playsound [exec play $sound]</code></pre></div>(just instal right packages)<br><br>if i wish my sound play whit different program on windows example on win media player <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><div class="codebox"><p>Code: </p><pre><code>set sound "C:/Windows/Media/Notify.wav"set playsound [exec wmplayer.exe /play /close $sound]</code></pre></div>same on linux<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8946">game_over</a> — Fri Sep 19, 2008 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tolkien]]></name></author>
		<updated>2008-08-19T18:38:59-04:00</updated>

		<published>2008-08-19T18:38:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84707#p84707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84707#p84707"/>
		<title type="html"><![CDATA[playing a sound when triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84707#p84707"><![CDATA[
i am using this method to use triggers on my channel<br><br><br>set trigger1 "!whatever"<br>set text1 "whatver i want to say"<br>theres more codes in it like<br><br>bind pub $trigbind $trigger1 text-1<br>proc text-1 {n u h c a }  {<br>global channelone<br>global channeltwo<br>global channelthree<br>global text1<br>if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {<br>puthelp "PRIVMSG $c :$text1"<br>}<br>return 0<br>}<br><br><br><br>now what i want to do is when its trigger to play a sound i will host with my bot. want only for one specific trigger to play sound...<br><br>also if i wanted to add the person name of who did trigger name into wwhats displayed how would i do that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10117">tolkien</a> — Tue Aug 19, 2008 6:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
