<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Add sound for idle? - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 18 Apr 2026 19:30:00 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5421</link>
                        <pubDate>Tue, 28 Jun 2022 19:48:39 +0000</pubDate>
                        <description><![CDATA[Finally, after copying some examples and doing many tests I have been able to make this work. I have created a .ini file in the ncalcscripts folder with this content:
name=&#039;Let...]]></description>
                        <content:encoded><![CDATA[<p>Finally, after copying some examples and doing many tests I have been able to make this work. I have created a .ini file in the ncalcscripts folder with this content:</p>
<p><br />name='LetsGoMrDriver'<br />trigger=if(&gt;20,1,0)</p>
<p>Then I created an event, selected the external event as source and the audio control plugin as target.</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Elaphe</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5421</guid>
                    </item>
				                    <item>
                        <title>RE: Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5420</link>
                        <pubDate>Tue, 28 Jun 2022 19:40:50 +0000</pubDate>
                        <description><![CDATA[@elaphe It works on my end. You should ear the beeping when pasting the formula in the testertriggeraction was added to SimHub nearly 2 years ago now.What version of SimHub are you running?]]></description>
                        <content:encoded><![CDATA[<p>@elaphe It works on my end. You should ear the beeping when pasting the formula in the tester<br />triggeraction was added to SimHub nearly 2 years ago now.<br />What version of SimHub are you running?</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Romainrob</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5420</guid>
                    </item>
				                    <item>
                        <title>RE: Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5419</link>
                        <pubDate>Tue, 28 Jun 2022 19:14:27 +0000</pubDate>
                        <description><![CDATA[Your code must be wrong. If I paste it in the Ncalc tester it reports &quot;Expression error: function not found. Parameter name: triggeraction&quot;]]></description>
                        <content:encoded><![CDATA[<p>Your code must be wrong. If I paste it in the Ncalc tester it reports "Expression error: function not found. Parameter name: triggeraction"</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Elaphe</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5419</guid>
                    </item>
				                    <item>
                        <title>RE: Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5418</link>
                        <pubDate>Tue, 28 Jun 2022 15:06:11 +0000</pubDate>
                        <description><![CDATA[Hi, the function to trigger an action from a formula is triggeraction(actionName).Here is an example:
if( isincreasing(1, blink(secondsbeeps, 500, 1)),triggeraction( &#039;AudioControlPlugin.Pla...]]></description>
                        <content:encoded><![CDATA[<p>Hi, the function to trigger an action from a formula is triggeraction(actionName).<br />Here is an example:</p>
<p>if( isincreasing(1, blink(secondsbeeps, 500, 1))<br />,triggeraction( 'AudioControlPlugin.Play_beep-07') ,'')</p>
<p>If you'd rather use the event mapper, you can add custom events to the list with a NCalc script.<br />https://github.com/SHWotever/SimHub/wiki/NCalc-scripting</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Romainrob</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5418</guid>
                    </item>
				                    <item>
                        <title>RE: Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5414</link>
                        <pubDate>Mon, 27 Jun 2022 19:35:54 +0000</pubDate>
                        <description><![CDATA[I have found this in Simhub / Available properties: DataCorePlugin.GameData.NewData.IsInPitSince
Now, what can I do with that?
Do I need to write something like
[DataCorePlugin.GameData.N...]]></description>
                        <content:encoded><![CDATA[<p>I have found this in Simhub / Available properties: DataCorePlugin.GameData.NewData.IsInPitSince</p>
<p>Now, what can I do with that?</p>
<p>Do I need to write something like</p>
<p> &gt;10<br />"Target": "AudioControlPlugin.Play_mysound"</p>
<p>I am trying with the Ncal tester and the pit time counter works, but not the function to start the sound.</p>
<p>But where do I write it? The event window doesn't let write that. Maybe in a file?</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Elaphe</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5414</guid>
                    </item>
				                    <item>
                        <title>Add sound for idle?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5408</link>
                        <pubDate>Sun, 26 Jun 2022 10:01:26 +0000</pubDate>
                        <description><![CDATA[Hello. I would like to ask how I can make simhub play a sound when the car doesn&#039;t move from the start or the pits for a certain amount of time. It would be like a warning to tell the driver...]]></description>
                        <content:encoded><![CDATA[<p>Hello. I would like to ask how I can make simhub play a sound when the car doesn't move from the start or the pits for a certain amount of time. It would be like a warning to tell the driver to move.</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Elaphe</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/add-sound-for-idle/#post-5408</guid>
                    </item>
							        </channel>
        </rss>
		