<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640" Guid="{95C39843-2CBC-4F4C-8454-3BF7B0A5FBAA}" Time="1388892978.27">
    <Autostart Name="Autostart" Expanded="True">
        <Action>
            EventGhost.PythonCommand(u'GirlfriendHome = True')
        </Action>
        <Action>
            EventGhost.PythonCommand(u'AdminHome = True')
        </Action>
        <Plugin Identifier="PingPlugin" Guid="Ping" File="Ping">
            gAJYAwAAAD0zMnEAhXEBLg==
        </Plugin>
        <Action>
            PingPlugin.AddHost(u"Girlfriend's IP", u'Girlfriend', 200, u'GirlfriendHome', u'GirlfriendAway', 1, 1)
        </Action>
        <Action>
            PingPlugin.AddHost(u"Admin's IP", u'Admin', 200, u'AdminHome', u'AdminAway', 1, 1)
        </Action>
    </Autostart>
    <Folder Name="Check if both people away" Expanded="True">
        <Macro Name="Checker" id="8" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'AdminHome == False and GirlfriendHome == False')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(27), 0, False)
            </Action>
        </Macro>
    </Folder>
    <Folder Name="Home" Expanded="True">
        <Macro Name="Admin Home" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'AdminHome = True')
            </Action>
            <Event Name="Ping.AdminHome" />
        </Macro>
        <Macro Name="Girlfriend Home" Expanded="True">
            <Action>
                EventGhost.PythonCommand(u'GirlfriendHome = True')
            </Action>
            <Event Name="Ping.GirlfriendHome" />
        </Macro>
    </Folder>
    <Folder Name="Away" Expanded="True">
        <Macro Name="Admin Away" Expanded="True">
            <Event Name="Ping.AdminAway" />
            <Action>
                EventGhost.PythonCommand(u'AdminHome = False')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
            </Action>
        </Macro>
        <Macro Name="Girlfriend Away" Expanded="True">
            <Event Name="Ping.GirlfriendAway" />
            <Action>
                EventGhost.PythonCommand(u'GirlfriendHome = False')
            </Action>
            <Action>
                EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
            </Action>
        </Macro>
        <Macro Name="Both Gone" id="27" Expanded="True">
            <Action>
                EventGhost.TriggerEvent(u'Gone', 0.0)
            </Action>
        </Macro>
    </Folder>
</EventGhost>
