import random
from java.lang import String
from org.myrobotlab.net import BareBonesBrowserLaunch
holygrail = Runtime.createAndStart("holygrail", "WebGui")
wksr = Runtime.createAndStart("webkitspeechrecognition", "WebkitSpeechRecognition")
alice2 = Runtime.createAndStart("alice2", "ProgramAB")
alice2.startSession("C:/mrl2/myrobotlab/ProgramAB", "default", "alice2")
htmlfilter = Runtime.createAndStart("htmlfilter", "HtmlFilter")
mouth = Runtime.createAndStart("i01.mouth", "MarySpeech")
wksr.addTextListener(alice2)
alice2.addTextListener(htmlfilter)
htmlfilter.addTextListener(mouth)

meco1 = 0
meco2 = 0
meco3 = 0

def COUNTER1():
    global meco1
    meco1 = meco1 + 1
    if (meco1 == 4):
       resp = elias.getResponse("RETRIGGER1")

def COUNTER2():
    global meco2
    meco2 = meco2 + 1
    if (meco2 == 4):
       resp = elias.getResponse("RETRIGGER2")

def COUNTER3():
    global meco3
    meco3 = meco3 + 1
    if (meco3 == 4):
       resp = elias.getResponse("RETRIGGER3")

def GETMEMO():
    resp = elias.getResponse("MEMOTRIGGER")

@@ -694,37 +694,38 @@
 :%0A       resp = 
-elias
+alice2
 .getResponse(%22RE
@@ -818,37 +818,38 @@
 :%0A       resp = 
-elias
+alice2
 .getResponse(%22RE
@@ -942,37 +942,38 @@
 :%0A       resp = 
-elias
+alice2
 .getResponse(%22RE
@@ -1014,13 +1014,14 @@
 p = 
-elias
+alice2
 .get

Update startmemo.py