Du kannst es doch so machen:

if a1=off then print "taster1"
...

Matthias