# — coding: utf-8 —
# #############################################################################
# YOUR INMOOV CUSTOM
# Here you can add your own commands to play and test with inmoov
# If you udpate the whole script, don’t worry, those commands are safe
# ##############################################################################
#sample
# play a neopixel animation while the robot speaking
#PlayNeopixelAnimation(« Flash Random », 255, 255, 255, 1)
# talk something
#talkBlocking(« she’s a replicant, isn’t she? »)
# stop neopixel
#StopNeopixelAnimation()
execfile(RuningFolder+’inmoovCustom/Inmoov_custom.py’)
<?xml version= »1.0″ encoding= »UTF-8″?>
<aiml>
<category>
<pattern>ENVOYER UN MAIL À *</pattern>
<template>
<think><set name= »destinataire »><star/></set></think>
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>mailsend(« <get name= »destinataire »/> »)</param>
</mrl>
</oob>
</template>
</category>
<category><pattern>SYSMAIL</pattern>
<template>
<think><set name= »message »><star/></set></think>Je t’écoute quel message court veux-tu envoyer </template>
</category>
<category><pattern>*</pattern>
<that># quel message court veux-tu envoyer #</that>
<template>
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>envoi( « <star index= »1″/> »)</param>
</mrl>
</oob>
</template>
</category>
</aiml>