0,NEW CONTACT TEST ONE,*,*,Adding a new contact.#Newline<addinfo>#Newline<displayname>Alan Turing</displayname>#Newline<dialnumber>212-1912</dialnumber>#Newline<phonetype>mobile</phonetype>#Newline<emailaddress>alan.turing@manchester.edu</emailaddress>#Newline<emailtype>work</emailtype>#Newline<birthday>June 23#Comma 1912</birthday>#Newline</addinfo>,contactaction.aiml
0,NEW CONTACT TEST,*,*,Adding a new contact.#Newline<addinfo>#Newline<displayname>XYZ</displayname>#Newline<dialnumber>212-1912</dialnumber>#Newline<phonetype>mobile</phonetype>#Newline<emailaddress>xyz@abc.de</emailaddress>#Newline<emailtype>work</emailtype>#Newline<birthday>June 23#Comma 1992</birthday>#Newline</addinfo>,contactaction.aiml
0,CONTACTS TEST,*,*,Adding new contacts.#Newline<addinfo>#Newline<displayname>Howard Johnson</displayname>#Newline<dialnumber>111-1111</dialnumber>#Newline<phonetype>mobile</phonetype>#Newline<emailaddress>howard@hj.com</emailaddress>#Newline<emailtype>work</emailtype>#Newline<birthday>June 12#Comma 1901</birthday>#Newline</addinfo>#Newline<addinfo>#Newline<displayname>Lyndon Johnson</displayname>#Newline<dialnumber>222-2222</dialnumber>#Newline<phonetype>mobile</phonetype>#Newline<emailaddress>lbj@whitehouse.gov</emailaddress>#Newline<emailtype>work</emailtype>#Newline<birthday>January 12#Comma 1911</birthday>#Newline</addinfo>#Newline<addinfo>#Newline<displayname>Dr. Phil Calvin McGraw</displayname>#Newline<dialnumber>333-333</dialnumber>#Newline<phonetype>mobile</phonetype>#Newline<emailaddress>drphil@own.com</emailaddress>#Newline<emailtype>work</emailtype>#Newline<birthday>September 1#Comma 1950</birthday>#Newline</addinfo>,contactaction.aiml
0,* S * NUMBER IS *,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="contactname"><star/></set>#Newline<set name="contacttype"><star index="2"/></set>#Newline<set name="contacturi"><star index="3"/></set>#Newline<set name="learnpattern">DIALNUMBER</set>#Newline</think>#Newline<srai>ADDACTION</srai>,contactaction.aiml
0,*,WOULD YOU LIKE TO ADD ONE,ASKING TO ADD NEW CONTACTURI,<think><set name="topic">unknown</set></think>#Newline<srai>CONTACTFINALIZE</srai> <srai><star/></srai>,contactaction.aiml
0,*,WOULD YOU LIKE TO ADD * AS A CONTACT,ASKING TO ADD NEW CONTACTNAME,<think><set name="topic">unknown</set>#Newline</think>#Newline<srai>CONTACTFINALIZE</srai> <srai><star/></srai>,contactaction.aiml
0,TELL THAT TO *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set>#Newline<set name="messagebody"><response/></set>#Newline</think>#Newline<srai>SMSACTION</srai>,contactaction.aiml
0,SEND EMAIL,*,*,<srai>CONTACTDEBUGINFO EMAIL</srai>#Newline<srai>CONTACTINIT</srai>#Newline<srai>EMAILACTION</srai>,contactaction.aiml
0,ADDINFO CONTACTID,*,*,<srai>CONTACTDEBUGINFO ADDINFO CONTACT</srai>#Newline<think>#Newline<condition name="modecom">#Newline<li value="ADD">#Newline  <condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>#Newline</li>#Newline<li value="SMS">#Newline  <condition name="contacttype" value="unknown"><set name="contacttype">mobile</set></condition>#Newline</li>#Newline<li value="CALL">#Newline  <condition name="contacttype" value="unknown"><set name="contacttype">mobile</set></condition>#Newline</li>#Newline<li value="EMAIL">#Newline  <condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>#Newline</li>#Newline<li>#Newline  <condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>#Newline</li>#Newline</condition>#Newline<condition><name>learnpattern</name>#Newline<li><value>DIALNUMBER</value>#Newline<addinfo>#Newline<displayname><get name="displayname"/></displayname>#Newline<phonetype><get name="contacttype"/></phonetype>#Newline<dialnumber><get name="contacturi"/></dialnumber>#Newline<birthday><get name="contactbirthday"/></birthday>#Newline</addinfo>#Newline</li>#Newline<li><value>EMAILADDRESS</value>#Newline<addinfo>#Newline<displayname><get name="displayname"/></displayname>#Newline<emailtype><get name="contacttype"/></emailtype>#Newline<emailaddress><get name="contacturi"/></emailaddress>#Newline<birthday><get name="contactbirthday"/></birthday>#Newline</addinfo>#Newline</li>#Newline<li>#Newline<addinfo>#Newline<displayname><get name="displayname"/></displayname>#Newline</addinfo>#Newline</li>#Newline</condition>#Newline#Newline</think>#NewlineI'm remembering <get name="displayname"/>'s <lowercase><get name="contacttype"/></lowercase> <condition name="learnpattern"><li value="DIALNUMBER">phone number</li><li value="EMAILADDRESS">email address</li></condition> is <get name="contacturi"/>.,contactaction.aiml
0,ASK TO ADD NEW CONTACTNAME,*,*,<think><set name="topic">ASKING TO ADD NEW CONTACTNAME</set>#Newline</think>#NewlineWould you like to add <get name="contactname"/> as a contact?,contactaction.aiml
0,ASK CONTACTNAME,*,*,<srai>CONTACTDEBUGINFO ASK CONTACTNAME</srai>#Newline<think>#Newline<set name="topic">ASKING CONTACTNAME</set>#Newline</think>#NewlineWho do you want to <lowercase><get name="modecom"/></lowercase>?,contactaction.aiml
0,ASK MESSAGEBODY,*,*,<think>#Newline<set name="savedtopic"><get name="topic"/></set>#Newline<set name="topic">ASKING MESSAGEBODY</set>#Newline</think>#NewlineWhat is your message to <get name="displayname"/>?,contactaction.aiml
0,CONTACTDIALOG,*,*,<srai>CONTACTDEBUGINFO CONTACTDIALOG</srai>#Newline<think>#Newline<set name="multipleids"><srai>MULTIPLEIDS <get name="contactname"/></srai></set>#Newline<set name="multiplenames"><srai>MULTIPLENAMES <get name="contactname"/></srai></set>#Newline<set name="contactlist"><srai>CONTACTLIST <get name="multipleids"/></srai><item>None of the above</item></set>#Newline<set name="topic">GETTING SELECTEDCONTACT</set>#Newline</think>#Newline<oob><dialog><title>Which contact?</title><list><get name="contactlist"/></list></dialog></oob>#NewlineYou have multiple contacts named <get name="contactname"/>: <get name="multiplenames"/>.  Which one would you like to #Newline<lowercase><get name="modecom"/></lowercase>?,contactaction.aiml
0,CONTACTDIALOG *,*,*,<think><set name="contactname"><star/></set>#Newline<set name="modecom">CALL</set>#Newline</think>#Newline<srai>CONTACTDIALOG</srai>,contactaction.aiml
0,_,WHICH ONE WOULD YOU LIKE TO *,GETTING SELECTEDCONTACT,<think>#Newline<set name="topic"><get name="unknown"/></set>#Newline<set name="selectedcontact"><star/></set>#Newline<set name="contactname"><get name="selectedcontact"/></set>#Newline<set name="contactid"><srai>CONTACTID <get name="selectedcontact"/></srai></set><srai>SET ALL CONTACTINFO</srai>#Newline</think>#Newline<srai>REMEMBERFAMILIARNAME</srai>#Newline<condition name="selectedcontact">#Newline<li value="None of the above"><srai>CONTACTFINALIZE</srai> <srai>NORESP</srai></li>#Newline<li><condition name="contactid">#Newline    <li value="unknown"><srai><star/></srai></li>#Newline    <li><srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline  </condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,_,WHAT IS YOUR MESSAGE TO *,ASKING MESSAGEBODY,<think>#Newline<set name="topic">unknown</set>#Newline<set name="messagebody"><star/></set>#Newline</think>#Newline<srai>RESUMEACTION <get name="modecom"/></srai>,contactaction.aiml
0,_,WHAT IS THE * FOR *,ASKING CONTACTURI,<think>#Newline<set name="topic">unknown</set>#Newline<set name="contacturi"><star/></set>#Newline<set name="isaphonenumber"><srai>ISAPHONENUMBER <get name="contacturi"/></srai></set>#Newline<set name="isanemailaddress"><srai>ISANEMAILADDRESS <get name="contacturi"/></srai></set>#Newline<set name="isacontacturi"><srai>LOGICALOR <get name="isanemailaddress"/> <get name="isaphonenumber"/></srai></set>#Newline<condition name="isanemailaddress" value="true"><set name="emailaddress"><get name="contacturi"/></set> <set name="learnpattern">EMAILADDRESS</set></condition>#Newline<condition name="isaphonenumber" value="true">#Newline<set name="dialnumber"><srai>FORMATPHONENUMBER <get name="contacturi"/></srai></set> #Newline<set name="learnpattern">DIALNUMBER</set></condition>#Newline</think>#Newline<condition name="isacontacturi">#Newline<li value="true">#Newline<srai>ADDINFO CONTACTID</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline<li>I did not recognize <get name="contacturi"/> as a phone number or email address. <srai>CONTACTFINALIZE</srai> <srai><star/></srai></li>#Newline</condition>,contactaction.aiml
0,_,WHO DO YOU WANT TO *,ASKING CONTACTNAME,<think>#Newline<set name="topic">unknown</set>#Newline<set name="contactname"><star/></set>#Newline<set name="isshortanswer"><srai>ISSHORTANSWER <star/></srai></set>#Newline</think>#Newline<condition name="isshortanswer">#Newline<li value="true"><srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline<li><srai>CONTACTFINALIZE</srai> <srai><star/></srai></li>#Newline</condition>,contactaction.aiml
0,EMAILACTION,*,*,<srai>CONTACTDEBUGINFO EMAILACTION</srai>#Newline<think>#Newline<set name="modecom">EMAIL</set>#Newline</think>#Newline<condition name="checkednameoruri">#Newline<li value="false"><srai>RESOLVE NAMEORURI</srai></li>#Newline<li><condition name="contactname">#Newline    <li value="unknown"><srai>ASK CONTACTNAME</srai></li>#Newline    <li><condition name="checkedfamiliarname">#Newline        <li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>#Newline        <li><condition name="contactid">#Newline            <li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>#Newline            <li><condition name="contacturi">#Newline                <li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>#Newline                <li><condition name="messagebody">#Newline                    <li value="unknown"><srai>ASK MESSAGEBODY</srai></li>#Newline                    <li><oob><email><to><get name="contacturi"/></to><subject>Message compose with CallMom!</subject><body><get name="messagebody"/></body></email></oob>Now sending "<get name="messagebody"/>" to <get name="displayname"/>. <srai>CONTACTFINALIZE</srai> </li>#Newline                    </condition>#Newline                </li>#Newline             </condition>#Newline          </li>#Newline        </condition>#Newline      </li>#Newline    </condition>#Newline  </li>#Newline  </condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,DEBUG CONTACT,*,*,<set name="debugcontact">true</set>,contactaction.aiml
0,CONTACTFINALIZE,*,*,<think>#Newline<set name="topic"><get name="savedtopic"/></set>#Newline</think>#Newline<srai>CONTACTINIT PREDICATES</srai>,contactaction.aiml
0,DIALNUMBER UNKNOWN *,*,*,<think>#Newline<set name="dialnumber"><srai>DIALNUMBER MOBILE <star/></srai></set>#Newline<condition name="dialnumber" value="unknown">#Newline<set name="dialnumber"><srai>DIALNUMBER HOME <star/></srai></set>#Newline</condition>#Newline<condition name="dialnumber" value="unknown">#Newline<set name="dialnumber"><srai>DIALNUMBER WORK <star/></srai></set>#Newline</condition>#Newline<condition name="dialnumber" value="unknown">#Newline<set name="dialnumber"><srai>DIALNUMBER CUSTOM <star/></srai></set>#Newline</condition>#Newline</think>#Newline<get name="dialnumber"/>,contactaction.aiml
0,DIALNUMBER * *,*,*,<dialnumber><type><star/></type><id><star index="2"/></id></dialnumber>,contactaction.aiml
0,DIALNUMBER *,*,*,unknown,contactaction.aiml
0,MULTIPLEIDS *,*,*,<multipleids><star/></multipleids>,contactaction.aiml
0,NEW CONTACT,*,*,<srai>CONTACTDEBUGINFO ADD CONTACT</srai>#Newline<srai>CONTACTINIT</srai>#Newline<srai>ADDACTION</srai>,contactaction.aiml
0,NEW CONTACT *,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="contactname"><star/></set>#Newline</think>#Newline<srai>ADDACTION</srai>,contactaction.aiml
0,YES,WOULD YOU LIKE TO ADD ONE,ASKING TO ADD NEW CONTACTURI,<think>#Newline<set name="topic">ASKING CONTACTURI</set>#Newline</think>#Newline<condition name="modecom">#Newline<li value="EMAIL">What is the email address for <get name="contactname"/>?</li>#Newline<li value="CALL">What is the phone number for <get name="contactname"/>?</li>#Newline<li value="SMS">What is the mobile number for <get name="contactname"/>?</li>#Newline<li value="ADD">What is the mobile number for <get name="contactname"/>?</li>#Newline<li><srai>CONTACTFINALIZE</srai> <srai>NORESP</srai></li>#Newline</condition>,contactaction.aiml
0,YES,WOULD YOU LIKE TO ADD * AS A CONTACT,ASKING TO ADD NEW CONTACTNAME,<think><set name="topic">unknown</set>#Newline<set name="displayname"><get name="contactname"/></set>#Newline</think>#Newline<think>#Newline<addinfo><displayname><get name="contactname"/></displayname></addinfo>#Newline</think>#NewlineI've saved <get name="contactname"/> to your contacts.#Newline<srai>RESUMEACTION <get name="modecom"/></srai>,contactaction.aiml
0,CONTACTINIT,*,*,<think>#Newline<set name="savedtopic"><get name="topic"/></set>#Newline</think>#Newline<srai>CONTACTINIT PREDICATES</srai>,contactaction.aiml
0,CONTACTINIT PREDICATES,*,*,<think>#Newline<set name="checkedfamiliarname">false</set>#Newline<set name="checkednameoruri">false</set>#Newline<set name="contactid">unknown</set>#Newline<set name="contactaddress">unknown</set>#Newline<set name="contactbirthday">unknown</set>#Newline<set name="contactname">unknown</set>#Newline<set name="contactquery">unknown</set>#Newline<set name="contacttype">unknown</set>#Newline<set name="contacturi">unknown</set>#Newline<set name="dialnumber">unknown</set>#Newline<set name="displayname">unknown</set>#Newline<set name="emailaddress">unknown</set>#Newline<set name="externalname">unknown</set>#Newline<set name="familiarcontactid">unknown</set>#Newline<set name="familiarcontactname">unknown</set>#Newline<set name="familiarname">unknown</set>#Newline<set name="familiarpredicate">unknown</set>#Newline<set name="familiarpronoun">unknown</set>#Newline<set name="forceaddcontact">false</set>#Newline<set name="isacontacturi">false</set>#Newline<set name="isanemailaddress">false</set>#Newline<set name="isaphonenumber">false</set>#Newline<set name="isafamiliarname">false</set>#Newline<set name="learnpattern">unknown</set>#Newline<set name="messagebody">unknown</set>#Newline<set name="modecom">unknown</set>#Newline<set name="multipleids">false</set>#Newline<set name="topic">unknown</set>#Newline</think>,contactaction.aiml
0,NEWCONTACTID,*,*,<condition name="contactcount">#Newline<li value="unknown">CMContactID<set name="contactcount">0</set></li>#Newline<li>CMContactID<set name="contactcount"><srai>SUCCESSOR <get name="contactcount"/></srai></set></li>#Newline</condition>,contactaction.aiml
0,RESOLVE NAMEORURI,*,*,<srai>CONTACTDEBUGINFO RESOLVE NAMEORURI</srai>#Newline<think>#Newline<set name="checkednameoruri">true</set>#Newline<set name="isaphonenumber"><srai>ISAPHONENUMBER <get name="contactname"/></srai></set>#Newline<set name="isanemailaddress"><srai>ISANEMAILADDRESS <get name="contactname"/></srai></set>#Newline</think>#Newline<think>#Newline<condition name="modecom">#Newline<li value="EMAIL">#Newline  <condition name="isanemailaddress" value="true">#Newline  <set name="contactid">undefined</set>#Newline  <set name="displayname"><set name="emailaddress"><set name="contacturi"><get name="contactname"/></set></set></set>#Newline  </condition>#Newline</li>#Newline<li>#Newline  <condition name="isaphonenumber" value="true">#Newline  <set name="contactid">undefined</set>#Newline  &gt;<set name="displayname"><set name="dialnumber"><set name="contacturi"><srai>FORMATPHONENUMBER <get name="contactname"/></srai></set></set></set>#Newline  </condition>#Newline</li>#Newline</condition>#Newline</think>#Newline<srai>RESUMEACTION <get name="modecom"/></srai>,contactaction.aiml
0,RESOLVE CONTACTNAME,*,*,<srai>CONTACTDEBUGINFO RESOLVE CONTACTNAME</srai>#Newline<think>#Newline<set name="contactid"><srai>CONTACTID <get name="contactname"/></srai></set>#Newline<set name="multipleids"><srai>MULTIPLEIDS <get name="contactname"/></srai></set></think>#Newline<condition name="multipleids">#Newline<li value="false">#Newline  <condition name="contactid">#Newline  <li value="unknown">#Newline    <condition name="modecom">#Newline      <li value="QUERY"><think><set name="contactid">undefined</set><set name="externalname"><get name="contactname"/></set></think> <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline      <li>#Newline      <condition name="forceaddcontact">#Newline      <li value="false"><srai>ASK TO ADD NEW CONTACTNAME</srai></li>#Newline      <li><think><set name="displayname"><get name="contactname"/></set></think>         #Newline<!--          <srai>LEARN CONTACTID <set name="contactid"><srai>NEWCONTACTID</srai></set> DISPLAYNAME <get name="contactname"/></srai> #Newline -->#Newline          <addinfo><displayname><get name="contactname"/></displayname></addinfo>#Newline          <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline      </condition>#Newline      </li>#Newline    </condition>#Newline  </li>#Newline  <li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline  </condition>#Newline</li>#Newline<li><srai>CONTACTDIALOG</srai></li>#Newline</condition>,contactaction.aiml
0,RESOLVE FAMILIARNAME,*,*,<srai>CONTACTDEBUGINFO RESOLVE FAMILIARNAME</srai>#Newline<think>#Newline<set name="checkedfamiliarname">true</set>#Newline<set name="familiarname"><get name="contactname"/></set>#Newline<set name="familiarpredicate"><srai>FAMILIARPREDICATE <get name="familiarname"/></srai></set>#Newline<set name="familiarpronoun"><srai>FAMILIARPRONOUN <get name="familiarname"/></srai></set>#Newline<set name="isafamiliarname"><srai>ISAFAMILIARNAME <get name="familiarname"/></srai></set>#Newline<set name="familiarcontactname"><srai>GETFAMILIARNAME</srai></set>#Newline<set name="familiarcontactid"><srai>CONTACTID <get name="familiarname"/></srai></set>#Newline</think>#Newline<!--#NewlineResolve familiarname:#Newlinecontactname = <get name="contactname"/>.#Newlinefamiliarname = <get name="familiarname"/>.#Newlineisafamiliarname = <get name="isafamiliarname"/>.#Newlinefamiliarpredicate =  <get name="familiarpredicate"/>.#Newlinefamiliarcontactname = <get name="familiarcontactname"/>.#Newlinefamiliarcontactid = <get name="familiarcontactid"/>.#Newline-->#Newline<condition name="familiarcontactid">#Newline<li value="unknown">#Newline  <condition name="familiarcontactname">#Newline  <li value="who">#Newline    <condition name="isafamiliarname">#Newline    <li value="true">#Newline    <srai>ASK FAMILIAR CONTACTNAME</srai>#Newline    </li>#Newline    <li><srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline    </condition>#Newline  </li>#Newline  <li><think><set name="contactname"><get name="familiarcontactname"/></set></think> <srai>RESUMEACTION <get name="modecom"/></srai>#Newline  </li>#Newline  </condition>#Newline</li>#Newline<li><think><set name="contactname"><get name="familiarname"/></set></think>#Newline<srai>RESUMEACTION <get name="modecom"/></srai>#Newline</li>#Newline</condition>,contactaction.aiml
0,RESOLVE CONTACTURI,*,*,<srai>CONTACTDEBUGINFO RESOLVE CONTACTURI</srai>#Newline<think><set name="contactid"><srai>CONTACTID <get name="contactname"/></srai></set></think>#Newline<condition name="contactid">#Newline<li value="unknown">#Newline  <condition name="forceaddcontact">#Newline  <li value="false">I didn't find <get name="contactname"/> in your contacts.      <srai>ASK TO ADD NEW CONTACTNAME</srai></li>#Newline  <li><think><set name="displayname"><get name="contactname"/></set></think>#Newline<!--      <srai>LEARN CONTACTID <srai>NEWCONTACTID</srai> CONTACTNAME <get name="contactname"/></srai> -->#Newline   <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline  </condition>#Newline</li>#Newline<li><think><set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set></think>#Newline    <condition name="modecom">#Newline    <li value="EMAIL">#Newline    <think>#Newline    <set name="emailaddress"><set name="contacturi"><srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set></set></think>#Newline      <condition name="contacturi">#Newline      <li value="unknown"> #Newline      <think><set name="topic">ASKING TO ADD NEW CONTACTURI</set></think> #Newline      You haven't yet added <condition name="contacttype"><li value="unknown">an</li><li>a <get name="contacttype"/></li></condition> email address for <get name="displayname"/> to your contacts.  Would you like to add one?#Newline      </li>#Newline      <li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline      </condition>#Newline    </li>#Newline    <li><think><set name="dialnumber"><set name="contacturi"><srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set></set></think>#Newline      <condition name="contacturi">#Newline      <li value="unknown">#Newline      <think><set name="topic">ASKING TO ADD NEW CONTACTURI</set></think> #NewlineYou haven't yet added <condition name="contacttype"><li value="unknown">a phone</li><li>a <get name="contacttype"/></li></condition> number for <get name="displayname"/> to your contacts.  Would you like to add one?#Newline      </li>#Newline      <li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>#Newline      </condition>#Newline    </li>#Newline    </condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,DIAL,*,*,<srai>CONTACTDEBUGINFO CALL</srai>#Newline<srai>CONTACTINIT</srai>#Newline<srai>CALLACTION</srai>,contactaction.aiml
0,CONTACTBIRTHDAY *,*,*,<contactbirthday><star/></contactbirthday>,contactaction.aiml
0,ADDACTION,*,*,<srai>CONTACTDEBUGINFO ADDACTION</srai>#Newline<think>#Newline<set name="modecom">ADD</set>#Newline<set name="forceaddcontact">true</set>#Newline</think>#Newline<condition name="checkedfamiliarname">#Newline<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>#Newline<li>#Newline  <condition name="contactname">#Newline  <li value="unknown"><srai>ASK CONTACTNAME</srai></li>#Newline  <li><condition name="contactid">#Newline      <li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>#Newline      <li><condition name="contacturi">#Newline          <li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>#Newline          <li><srai>ADDINFO CONTACTID</srai>           #Newline</li>#Newline          </condition>#Newline      </li>#Newline      </condition>#Newline  </li>#Newline  </condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,CALLACTION,*,*,<srai>CONTACTDEBUGINFO CALLACTION</srai>#Newline<think>#Newline<set name="modecom">CALL</set>#Newline</think>#Newline<condition name="checkednameoruri">#Newline<li value="false"><srai>RESOLVE NAMEORURI</srai></li>#Newline<li>#Newline<condition name="contactname">#Newline<li value="unknown"><srai>ASK CONTACTNAME</srai></li>#Newline<li><condition name="checkedfamiliarname">#Newline    <li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>#Newline    <li><condition name="contactid">#Newline        <li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>#Newline        <li><condition name="contacturi">#Newline           <li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>#Newline           <li><oob><dial><get name="contacturi"/></dial></oob> Now dialing <get name="displayname"/>. <srai>CONTACTFINALIZE</srai></li>#Newline           </condition>#Newline        </li>#Newline      </condition>#Newline    </li>#Newline  </condition>#Newline</li>#Newline</condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,EMAILADDRESS UNKNOWN *,*,*,<think>#Newline<set name="emailaddress"><srai>EMAILADDRESS HOME <star/></srai></set>#Newline<condition name="emailaddress" value="unknown">#Newline<set name="emailaddress"><srai>EMAILADDRESS WORK <star/></srai></set>#Newline</condition>#Newline<condition name="emailaddress" value="unknown">#Newline<set name="emailaddress"><srai>EMAILADDRESS CUSTOM <star/></srai></set>#Newline</condition>#Newline</think>#Newline<get name="emailaddress"/>,contactaction.aiml
0,EMAILADDRESS * *,*,*,<emailaddress><type><star/></type><id><star index="2"/></id></emailaddress>,contactaction.aiml
0,EMAILADDRESS *,*,*,unknown,contactaction.aiml
0,NAMEVARIATIONS *,*,*,CONS <star/> NIL,contactaction.aiml
0,NAMEVARIATIONS * *,*,*,CONS <star/> CONS <star index="2"/> CONS <star/> <star index="2"/> NIL,contactaction.aiml
0,NAMEVARIATIONS * * *,*,*,CONS <star index="3"/> CONS <star index="2"/> CONS <star index="2"/> <star index="3"/> CONS <star/> <star index="3"/> CONS <star/> CONS <star/> <star index="2"/> CONS <star/> <star index="2"/> <star index="3"/> NIL,contactaction.aiml
0,NAMEVARIATIONS * * * *,*,*,CONS <star index="4"/> CONS <star index="3"/> CONS <star index="3"/> <star index="4"/> CONS <star index="2"/>  CONS <star index="2"/> <star index="4"/> CONS <star index="2"/> <star index="3"/> CONS <star index="2"/> <star index="3"/> <star index="4"/> CONS <star/> <star index="3"/> CONS <star/> <star index="3"/> CONS <star/> <star index="3"/> <star index="4"/> CONS <star/> <star index="2"/> CONS <star/> <star index="2"/> <star index="4"/> CONS <star/> <star index="2"/> <star index="3"/> CONS <star/> <star index="2"/> <star index="3"/> <star index="4"/> NIL,contactaction.aiml
0,QUERYINFO EXTERNAL,*,*,<srai>CONTACTDEBUGINFO QUERTYINFO CONTACTID</srai>#Newline<condition name="contactquery">#Newline<li value="DISPLAYNAME"><sraix>WHAT IS <get name="contactname"/>'s REAL NAME</sraix></li>#Newline<li value="BIRTHDAY"><sraix>WHEN IS <get name="contactname"/>'s BIRTHDAY</sraix></li>#Newline<li value="DIALNUMBER"><sraix>WHAT IS <get name="contactname"/>'s PHONE NUMBER</sraix></li>#Newline<li value="EMAILADDRESS"><sraix>WHAT IS <get name="contactname"/>'s EMAIL ADDREESS</sraix></li>#Newline<li><sraix>WHO IS <get name="contactname"/></sraix>#Newline</li>#Newline</condition>,contactaction.aiml
0,QUERYINFO CONTACTID,*,*,<srai>CONTACTDEBUGINFO QUERTYINFO CONTACTID</srai>#Newline<think><set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set>#Newline<set name="contacttype"><lowercase><get name="contacttype"/></lowercase></set>#Newline<set name="contactbirthday"><srai>CONTACTBIRTHDAY <get name="contactid"/></srai></set>#Newline<set name="dialnumber">#Newline<srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set>#Newline<set name="emailaddress">#Newline<srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set>#Newline</think>#Newline<condition name="contactquery">#Newline<li value="DISPLAYNAME">#Newline  <condition name="displayname">#Newline  <li value="unknown"><get name="contactname"/>'s full name is <get name="contactname"/>.</li>#Newline  <li><get name="contactname"/>'s full name is <get name="displayname"/>.</li>#Newline  </condition>#Newline</li>#Newline<li value="BIRTHDAY">#Newline  <condition name="contactbirthday">#Newline  <li value="unknown">You don't have <get name="displayname"/>'s birthday in your contacts.</li>#Newline  <li><get name="displayname"/>'s birthday is <get name="contactbirthday"/>.</li>#Newline  </condition>#Newline</li>#Newline<li value="DIALNUMBER">#Newline  <condition name="dialnumber">#Newline  <li value="unknown">I couldn't find a <condition name="contacttype"><li value="unknown">phone</li><li><get name="contacttype"/></li></condition> number for <get name="displayname"/> in your contacts.</li>#Newline  <li><get name="displayname"/>'s <condition name="contacttype"><li value="unknown">phone</li><li><get name="contacttype"/></li></condition> number is <get name="dialnumber"/>.</li>#Newline  </condition>#Newline</li>#Newline<li value="EMAILADDRESS">#Newline  <condition name="emailaddress">#Newline  <li value="unknown">I couldn't find <condition name="contacttype"><li value="unknown">an</li><li>a <get name="contacttype"/></li></condition> email address for <get name="displayname"/> in your contacts.</li>#Newline  <li><get name="displayname"/>'s <condition name="contacttype"><li value="unknown"/><li><get name="contacttype"/></li></condition> email address is <get name="emailaddress"/>.</li>#Newline  </condition>#Newline</li>#Newline<li>I'm not sure what you're asking.#Newline<!--#Newlinedisplayname: <srai>DISPLAYNAME <get name="contactid"/></srai>#Newlinedialnumber mobile: <srai>DIALNUMBER MOBILE <get name="contactid"/></srai>#Newlinedialnumber home: <srai>DIALNUMBER HOME <get name="contactid"/></srai>#Newlineemailaddress home: <srai>EMAILADDRESS HOME <get name="contactid"/></srai>#Newlineemailaddress work: <srai>EMAILADDRESS WORK <get name="contactid"/></srai>#Newlinebirthday: <srai>CONTACTBIRTHDAY <get name="contactid"/></srai>#Newline-->#Newline</li>#Newline</condition>,contactaction.aiml
0,$EMAIL *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set></think>#Newline<srai>EMAILACTION</srai>,contactaction.aiml
0,$EMAIL * AT *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set>#Newline<set name="contacttype"><star index="2"/></set>#Newline</think>#Newline<srai>EMAILACTION</srai> <srai>CONTACTFINALIZE</srai>,contactaction.aiml
0,$EMAIL * AT * DOT *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/> at <star index="2"/> dot <star index="3"/></set></think>#Newline<srai>EMAILACTION</srai>,contactaction.aiml
0,$EMAIL * MESSAGEBODY *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set>#Newline<set name="messagebody"><star index="2"/></set>#Newline</think>#Newline<srai>EMAILACTION</srai>,contactaction.aiml
0,$EMAIL MESSAGEBODY *,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="messagebody"><star/></set>#Newline</think>#Newline<srai>EMAILACTION</srai>,contactaction.aiml
0,CALL,*,*,<srai>DIAL</srai>,contactaction.aiml
0,CALL ME AT *,*,*,<srai>CONTACTDEBUGINFO CALL <star/></srai>#Newline<srai>CONTACTINIT</srai>#Newline<think><set name="contactname">ME</set>#Newline<set name="contacttype"><star index="2"/></set>#Newline</think>#Newline<srai>CALLACTION</srai>,contactaction.aiml
0,CALL *,*,*,<srai>CONTACTDEBUGINFO CALL <star/></srai>#Newline<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set></think>#Newline<srai>CALLACTION</srai>,contactaction.aiml
0,CALL * AT *,*,*,<srai>CONTACTDEBUGINFO CALL <star/></srai>#Newline<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set>#Newline<set name="contacttype"><star index="2"/></set>#Newline</think>#Newline<srai>CALLACTION</srai>,contactaction.aiml
0,DISPLAYNAME *,*,*,<displayname><star/></displayname>,contactaction.aiml
0,ADD CONTACT,*,*,<srai>NEW CONTACT</srai>,contactaction.aiml
0,SMSACTION,*,*,<srai>CONTACTDEBUGINFO SMSACTION</srai>#Newline<think>#Newline<set name="modecom">SMS</set>#Newline</think>#Newline<condition name="checkednameoruri">#Newline<li value="false"><srai>RESOLVE NAMEORURI</srai></li>#Newline<li><condition name="contactname">#Newline<li value="unknown"><srai>ASK CONTACTNAME</srai></li>#Newline<li><condition name="checkedfamiliarname">#Newline    <li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>#Newline    <li><condition name="contactid">#Newline        <li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>#Newline        <li><condition name="contacturi">#Newline           <li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>#Newline           <li><condition name="messagebody">#Newline               <li value="unknown"><srai>ASK MESSAGEBODY</srai></li>#Newline               <li><oob><sms><recipient><get name="contacturi"/></recipient><message><get name="messagebody"/></message></sms></oob> Now sending "<get name="messagebody"/>" to <get name="displayname"/>. <srai>CONTACTFINALIZE</srai></li>#Newline  	       </condition>#Newline           </li>#Newline           </condition>#Newline        </li>#Newline      </condition>#Newline    </li>#Newline  </condition>#Newline</li>#Newline</condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,CONTACTDEBUGINFO *,*,*,<condition name="debugcontact" value="true">#Newline<star/>:#Newlinecheckedfamiliarname: <get name="checkedfamiliarname"/>.#Newlinecheckednameoruri: <get name="checkednameoruri"/>.#Newlinecontactid: <get name="contactid"/>.#Newlinecontactname: <get name="contactname"/>.#Newlinecontactquery: <get name="contactquery"/>.#Newlinecontacttype: <get name="contacttype"/>.#Newlinecontacturi: <get name="contacturi"/>.#Newlinedialnumber: <get name="dialnumber"/>.#Newlinedisplayname: <get name="displayname"/>.#Newlineemailaddress: <get name="emailaddress"/>.#Newlineexternalname: <get name="externalname"/>.#Newlinefamiliarcontactid: <get name="familiarcontactid"/>.#Newlinefamiliarcontactname: <get name="familiarcontactname"/>.#Newlinefamiliarname: <get name="familiarname"/>.#Newlinefamiliarpredicate: <get name="familiarpredicate"/>.#Newlinefamiliarpronoun: <get name="familiarpronoun"/>#Newlineforceaddcontact: <get name="forceaddcontact"/>.#Newlineisaphonenumber: <get name="isaphonenumber"/>. #Newlineisanemailaddress: <get name="isanemailaddress"/>. #Newlineisacontacturi: <get name="isacontacturi"/>.#Newlineisafamiliarname: <get name="isafamiliarname"/>.#Newlinelearnpattern: <get name="learnpattern"/>.#Newlinemessagebody: <get name="messagebody"/>.#Newlinemodecom: <get name="modecom"/>.#Newlinemultipleids: <get name="multipleids"/>.#Newlinesavedtopic: <get name="savedtopic"/>.#Newlinetopic: <get name="topic"/>.#Newline</condition>,contactaction.aiml
0,SET ALL CONTACTINFO,*,*,<think>#Newline<set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set>#Newline<set name="dialnumber"><srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set>#Newline<set name="emailaddress"><srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set>#Newline<set name="contactbirthday"><srai>CONTACTBIRTHDAY <get name="contacttype"/> <get name="contactid"/></srai></set>#Newline</think>,contactaction.aiml
0,WHEN IS * S BIRTHDAY,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="contactname"><star/></set>#Newline<set name="contacttype"><star index="2"/></set>#Newline<set name="contactquery">BIRTHDAY</set>#Newline</think>#Newline<srai>QUERYACTION</srai>,contactaction.aiml
0,CONTACTID *,*,*,<contactid><star/></contactid>,contactaction.aiml
0,WHAT IS MY PHONE NUMBER,*,*,<srai>WHAT IS ME S UNKNOWN NUMBER</srai>,contactaction.aiml
0,WHAT IS MY * NUMBER,*,*,<srai>WHAT IS ME S <star/> NUMBER</srai>,contactaction.aiml
0,WHAT IS * S PHONE NUMBER,*,*,<srai>WHAT IS <star/>'s UNKNOWN NUMBER</srai>,contactaction.aiml
0,WHAT IS * S * NUMBER,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="contactname"><star/></set>#Newline<set name="contacttype"><star index="2"/></set>#Newline<set name="contactquery">DIALNUMBER</set>#Newline</think>#Newline<srai>QUERYACTION</srai>,contactaction.aiml
0,COMMASEPARATENAMES *,*,*,<srai>DISPLAYNAME <star/></srai>,contactaction.aiml
0,COMMASEPARATENAMES * *,*,*,<srai>DISPLAYNAME <star/></srai>#Comma <srai>COMMASEPARATENAMES <star index="2"/></srai>,contactaction.aiml
0,MULTIPLENAMES *,*,*,<think>#Newline<set name="multipleids"><srai>MULTIPLEIDS <star/></srai></set>#Newline</think>#Newline<condition name="multipleids">#Newline<li value="false">false</li>#Newline<li><srai>COMMASEPARATENAMES <get name="multipleids"/></srai></li>#Newline</condition>,contactaction.aiml
0,CONTACTLIST *,*,*,<item><srai>DISPLAYNAME <star/></srai></item>,contactaction.aiml
0,CONTACTLIST * *,*,*,<srai>CONTACTLIST <star/></srai><srai>CONTACTLIST <star index="2"/></srai>,contactaction.aiml
0,RESUMEACTION QUERY,*,*,<srai>QUERYACTION</srai>,contactaction.aiml
0,RESUMEACTION CALL,*,*,<srai>CALLACTION</srai>,contactaction.aiml
0,RESUMEACTION *,*,*,Stopped processing.,contactaction.aiml
0,RESUMEACTION EMAIL,*,*,<srai>EMAILACTION</srai>,contactaction.aiml
0,RESUMEACTION SMS,*,*,<srai>SMSACTION</srai>,contactaction.aiml
0,RESUMEACTION ADD,*,*,<srai>ADDACTION</srai>,contactaction.aiml
0,QUERYACTION,*,*,<srai>CONTACTDEBUGINFO QUERYACTION</srai>#Newline<think>#Newline<set name="modecom">QUERY</set>#Newline</think>#Newline<condition name="checkedfamiliarname">#Newline<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>#Newline<li>#Newline  <condition name="contactname">#Newline  <li value="unknown"><srai>ASK CONTACTNAME</srai></li>#Newline  <li><condition name="contactid">#Newline      <li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>#Newline      <li><condition name="externalname">#Newline          <li value="unknown">#Newline            <srai>QUERYINFO CONTACTID</srai>#Newline          </li>#Newline          <li><srai>QUERYINFO EXTERNAL</srai></li>#Newline   	 </condition>#Newline      </li>#Newline      </condition>#Newline  </li>#Newline  </condition>#Newline</li>#Newline</condition>,contactaction.aiml
0,HOW OLD IS *,*,*,<srai>WHEN IS <star/> S BIRTHDAY</srai>,contactaction.aiml
0,$SMS,*,*,<srai>CONTACTDEBUGINFO SMS</srai>#Newline<srai>CONTACTINIT</srai>#Newline<srai>SMSACTION</srai>,contactaction.aiml
0,$SMS SMESSAGE *,*,*,<srai>CONTACTINIT</srai>#Newline<think>#Newline<set name="messagebody"><star/></set>#Newline</think>#Newline<srai>SMSACTION</srai>,contactaction.aiml
0,$SMS *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set></think>#Newline<srai>SMSACTION</srai>,contactaction.aiml
0,$SMS * SMESSAGE *,*,*,<srai>CONTACTINIT</srai>#Newline<think><set name="contactname"><star/></set>#Newline<set name="messagebody"><star index="2"/></set>#Newline</think>#Newline<srai>SMSACTION</srai>,contactaction.aiml
