<?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>
									Variables used in ACC and Gary Swallow Plugin? - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/variables-used-in-acc-and-gary-swallow-plugin/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 16 Jul 2026 19:40:25 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Variables used in ACC and Gary Swallow Plugin?</title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/variables-used-in-acc-and-gary-swallow-plugin/#post-7516</link>
                        <pubDate>Mon, 04 Sep 2023 20:51:48 +0000</pubDate>
                        <description><![CDATA[I&#039;ve been customizing a leaderboard that&#039;s been using Gary Swallow Plugin. I&#039;m using the  property for all the drivers but I don&#039;t ...]]></description>
                        <content:encoded><![CDATA[<p>I've been customizing a leaderboard that's been using Gary Swallow Plugin. I'm using the <span style="color: #add8e6;font-weight: bold"></span> property for all the drivers but I don't want it to display anything if they are on track. I only want to see this status when they are on an INLAP, INPIT, or OUTLAP. Seeing that for everycar on a 45 car leaderboard is too much. Similar to how the <a href="https://www.racedepartment.com/downloads/simhub-tv-style-side-scrolling-leaderboards-timings-sidescreen.18746/" target="_blank" rel="noopener">2nd Screen Leaderboard</a> hides the DNG/DQ/PIT info if the value is empty. The PIT indicator is written like this:</p>
<p><span style="color: #add8e6">var</span> Pos = <span style="color: #a0522d">'30'</span>;<br /><span style="color: #add8e6">var</span> visible = <span style="color: #add8e6">0</span>;<br /><span style="color: #add8e6">var</span> InPitBox = $prop(<span style="color: #a0522d">'GarySwallowDataPlugin.Leaderboard.Position'</span> + Pos + <span style="color: #a0522d">'.InPitBox'</span>);<br /><span style="color: #add8e6">var</span> InPitLane = $prop(<span style="color: #a0522d">'GarySwallowDataPlugin.Leaderboard.Position'</span> + Pos + <span style="color: #a0522d">'.InPitLane'</span>);<br /><br /><span style="color: #add8e6">if</span> (InPitBox || InPitLane == <span style="color: #a0522d">'1'</span>){visible = <span style="color: #add8e6">1</span>}<br /><span style="color: #add8e6">else</span> visible = <span style="color: #add8e6">0</span>;<br /><br /><span style="color: #008000">//return driver;</span><br /><span style="color: #add8e6">return</span> visible;</p>
<p>The problem is I don't know how to find these variables that the game/plugin uses to determine where the car is.</p>
<p>I'm assuming I just need something like this but I don't know what the DriverStatus uses to see where the car is. InTrack needs to be changed.</p>
<p><span style="color: #add8e6">var</span> Pos = <span style="color: #a0522d">'30'</span>;<br /><span style="color: #add8e6">var</span> visible = <span style="color: #add8e6">1</span>;<br /><span style="color: #add8e6">var</span> InTrack = $prop(<span style="color: #a0522d">'GarySwallowDataPlugin.Leaderboard.Position'</span> + Pos + <span style="color: #a0522d">'.InTrack'</span>);<br /><br /><span style="color: #add8e6">if</span> (InTrack == <span style="color: #a0522d">'1'</span>){visible = <span style="color: #add8e6">0</span>}<br /><span style="color: #add8e6">else</span> visible = <span style="color: #add8e6">1</span>;<br /><br /><span style="color: #008000">//return driver;</span><br /><span style="color: #add8e6">return</span> visible;</p>
<p> </p>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>Ecmdrw5</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/variables-used-in-acc-and-gary-swallow-plugin/#post-7516</guid>
                    </item>
							        </channel>
        </rss>
		