Fandom

Second Life Aviation Wiki

ATC Bot AIML

1,138pages on
this wiki
Add New Page
Comments0 Share

The following example can be used as a basis of an ATC bot run on Corrade. It needs the predicate tower to be defined.

<aiml version="2.0">
// SL/CORRADE AIML FILE FOR ATC
// (C) 2015 CALLUM MERIMAN - FREE FOR USE UNDER CC-SA WITH ATTRIBUTION
//
// --------------------------------------------------------------------------------------------

// SUBMIT A FLIGHTPLAN

// --------------------------------------------------------------------------------------------

<category>

    <pattern>

        <bot name="tower"/> * FLIGHT PLAN *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: START APPROVED. DEPARTURE IS 90 LEFT, REPORT BACK FOR TAXI CLEARANCE.

    </template>

</category>

<category>

    <pattern>

        <bot name="tower"/> * FLIGHTPLAN *

    </pattern>

    <template>

        <srai>

            <bot name="tower"/> <star/> FLIGHT PLAN <star/>

        </srai>

    </template>

</category>


// --------------------------------------------------------------------------------------------

// REQUEST TAXI

// --------------------------------------------------------------------------------------------

<category>

    <pattern>

        <bot name="tower"/> * TAXI *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: TAXI APPROVED. HOLD SHORT RUNWAY 90 LEFT. CONTACT TOWER FOR DEPARTURE.

    </template>

</category>


// --------------------------------------------------------------------------------------------

// REQUEST TAKE OFF

// --------------------------------------------------------------------------------------------

        

<category>

    <pattern>

        <bot name="tower"/> * TAKEOFF *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: CLEARED TO TAKE OFF RUNWAY 90 LEFT.

    </template>

</category>

<category>

    <pattern>

        <bot name="tower"/> * TAKE OFF *

    </pattern>

    <template>

        <srai><bot name="tower"/> <star/> TAKEOFF <star/></srai>

    </template>

</category>


// --------------------------------------------------------------------------------------------

// SUBMIT ETA

// --------------------------------------------------------------------------------------------

        

<category>

    <pattern>

        <bot name="tower"/> * ETA *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: COPY ETA, LANDING RUNWAY IS 90 RIGHT, CLEARANCE ON REQUEST.

    </template>

</category>


// --------------------------------------------------------------------------------------------

// REQUEST LANDING CLEARANCE

// --------------------------------------------------------------------------------------------

        

<category>

    <pattern>

        <bot name="tower"/>  * LANDING *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: LANDING APPROVED AT YOUR DISCRETION.

    </template>

</category>


// ---------------------------------------------------------------------------------------------

// REQUEST HELIPAD ACTION

// ---------------------------------------------------------------------------------------------

        

<category>

    <pattern>

        <bot name="tower"/> * HELIPAD *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: REMAIN CLEAR OF RUNWAY 90 AT ALL TIMES, LANDING APPROVED AT YOUR DISCRETION.

    </template>

</category>


// ---------------------------------------------------------------------------------------------

// ASK ABOUT THE WEATHER

// --------------------------------------------------------------------------------------------

        

<category>

    <pattern>

        <bot name="tower"/> * WIND CHECK *

    </pattern>

    <template>

        <first><star index="1"/></first>, <bot name="tower"/> TOWER: WIND 110 AT 4 KNOTS.

    </template>

</category>

<category>

    <pattern><bot name="tower"/> * WINDCHECK *</pattern>

    <template>

        <srai>

            <bot name="tower"/> <star/> WIND CHECK <star/>

        </srai>

    </template>

</category>



</aiml>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.