ich habe jetzt zunächst die Taster entprellt durch zurücksetzen (false) nach dem Drücken.
! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
! <block type="procedures_defnoreturn" id="O)q*?M8Hfa5)/}O6ZsZ7" x="438" y="38"><field name="NAME">Initialisierung</field>
! <comment pinned="false" h="80" w="160">Bei Programmstart Werte vorgeben.</comment>
! <statement name="STACK"><block type="variables_set" id="?L69j3%sRmc}([5G2X60"><field name="VAR">AnzahlVersuche</field>
! <value name="VALUE"><block type="math_number" id="t]h/PX7feEalP-;RDq_"><field name="NUM">0</field></block></value> ! <next><block type="variables_set" id="wMeGQPHU)@|vwaJP%iqr"><field name="VAR">tempCode</field> ! <value name="VALUE"></value> ! <next><block type="comment" id="_UZqDvMtW0LHk96L^T8z"><field name="COMMENT">Maximale Fehlversuche festlegen</field> ! <next><block type="variables_set" id="e663[k*hSCd%o_?sd(XA"><field name="VAR">maxVersuche</field> ! <value name="VALUE"><block type="math_number" id="{OjuYXvX(;:=T.oag~a#"><field name="NUM">3</field></block></value> ! <next><block type="comment" id="K(:;y-gihBx_:{%kJ~Oo"><field name="COMMENT">Länge der Codes festlegen</field> ! <next><block type="variables_set" id="BGt@+4h!d)Kco3]{
,)V"><field name="VAR">maxCodeLaenge</field>
! <value name="VALUE"><block type="math_number" id="|Wm^i:C
~o0Bp7;,-yy"><field name="NUM">4</field></block></value>
! <next><block type="comment" id="ZgOwwPRCnNLM~@tR?DhB"><field name="COMMENT">Liste der Codes</field>
! <next><block type="comment" id="|9)F(1-)Murz[PAg@Pcz"><field name="COMMENT">Beliebig erweiterbar. Auf Länge achten!</field>
! <next><block type="variables_set" id=";~}[HtK6:wa8W/1,]j2a"><field name="VAR">CodeAnwesend</field>
! <value name="VALUE"><block type="text" id="/%k9:KVHUC2RVgH.:^v5"><field name="TEXT">9713</field></block></value>
! <next><block type="variables_set" id=";{0Vr(56Uhr:z8CzivC"><field name="VAR">CodeAbwesend</field>
! <value name="VALUE"><block type="text" id="^di=V@V!cAe+WZiLfuL%"><field name="TEXT">9713</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block>
! <block type="comment" id=".M/Q%KRmxbXWc2P9~_MO" x="-87" y="162"><field name="COMMENT">Einmalige Initialisierung bei Programmstart</field>
! <next><block type="procedures_callnoreturn" id="tjP%K@i{#i,h1Dyax-gY"><mutation name="Initialisierung"></mutation>
! <next><block type="comment" id="?bXfiCYH0h;wOsNVLQT1"><field name="COMMENT">Hier beginnt das Triggern</field>
! <next><block type="comment" id="Ox)}[Fr#C.VldaJS5L^k"><field name="COMMENT">Beliebig erweiterbar</field>
! <next><block type="on_ext" id="7r}c).]GtkEH)FR.:s."><mutation items="10"></mutation>
! <field name="CONDITION">ne</field>
! <value name="OID0"><shadow type="field_oid" id="qWM98DOf90FmZ?BT;~"><field name="oid">javascript.0.Pincode_1</field></shadow></value> ! <value name="OID1"><shadow type="field_oid" id="db.g;R
[uTi-M|khCqfC"><field name="oid">javascript.0.Pincode_2</field></shadow></value>
! <value name="OID2"><shadow type="field_oid" id="xXI+u{uUm0V4mOYK!n]j"><field name="oid">javascript.0.Pincode_3</field></shadow></value>
! <value name="OID3"><shadow type="field_oid" id="L/.+Co%HVmPx|6[dkKDf"><field name="oid">javascript.0.Pincode_4</field></shadow></value>
! <value name="OID4"><shadow type="field_oid" id="<EMAIL email=" yvdua@j5e.v"="">YVdua@J5e.V_U-U26+?x">
! <field name="oid">javascript.0.Pincode_5</field></shadow></value>
! <value name="OID5"><shadow type="field_oid" id="3p-_6#@zV#xSNcEo/hbt"><field name="oid">javascript.0.Pincode_6</field></shadow></value>
! <value name="OID6"><shadow type="field_oid" id="[XON[zsvmV^USlAkKTMv"><field name="oid">javascript.0.Pincode_7</field></shadow></value>
! <value name="OID7"><shadow type="field_oid" id="%{._9]MXCKmMWiwrYR}w"><field name="oid">javascript.0.Pincode_8</field></shadow></value>
! <value name="OID8"><shadow type="field_oid" id="ME,JB!1D%xbAV}6ir2wG"><field name="oid">javascript.0.Pincode_9</field></shadow></value>
! <value name="OID9"><shadow type="field_oid" id="raHaUG!:Q]~4]zEv1,#"><field name="oid">javascript.0.Pincode_0</field></shadow></value>
! <statement name="STATEMENT"><block type="comment" id="Yg;,[I7Ex=?rcz#y?kj%"><field name="COMMENT">Timer für zu lange Eingabepause stoppen</field>
! <next><block type="timeouts_cleartimeout" id="#p8Sw}HSQK?cYiU:YHiK"><field name="NAME">timeout</field>
! <next><block type="comment" id="?pNSp?WhqKPHT/B_pJo:"><field name="COMMENT">Nur ausführen wenn Eingabe nicht geblockt</field>
! <next><block type="controls_if" id="dn-O]h-kTj)k:Hx)Xkz"><value name="IF0"><block type="logic_compare" id="aahnsRO!(k,8K;ftiGcN"><field name="OP">NEQ</field> ! <value name="A"><block type="variables_get" id="~1[*:7k/oGI/ZT1ie-F5"><field name="VAR">AnzahlVersuche</field></block></value> ! <value name="B"><block type="variables_get" id="9EtqToNOpvma_:nUc:I3"><field name="VAR">maxVersuche</field></block></value></block></value> ! <statement name="DO0"><block type="controls_if" id="53w
on3Q~KRaZW)3F6_["><mutation elseif="9"></mutation>
! <value name="IF0"><block type="logic_compare" id="=Vuh)csdD]A:f+;xaY0c"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id="73#D/?hW=+je)pXEOH]"><field name="ATTR">val</field>
! <field name="OID">javascript.0.Pincode_1</field></block></value>
! <value name="B"><block type="logic_boolean" id="-nBqftYopC%u~4,0#S:J"><field name="BOOL">TRUE</field></block></value></block></value>
! <statement name="DO0"><block type="comment" id="iDWo7Ppf@/PIDOC3,nQg"><field name="COMMENT">Die Eingabe an Funktion übergeben</field>
! <next><block type="procedures_callnoreturn" id="9ND8^RRRst6J*Tr1aF:P" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
! <value name="ARG0"><block type="text" id=";{hUhJ|FuWgRnG+V
x/"><field name="TEXT">1</field></block></value>
! <next><block type="control" id="5ArdIS#b?WC|8!ZZpFYX"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pincode_1</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="VU=l0;=Curobct^KrL6"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement>
! <value name="IF1"><block type="logic_compare" id="7OCP}UF3YaQ|gs=RDFy"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="NHZ%eeYxhwr?#M_(BhP/"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_2</field></block></value> ! <value name="B"><block type="logic_boolean" id="*2NWW1B~r6Z2E}P%j2wg"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO1"><block type="procedures_callnoreturn" id="TUEyn}|x(z36g?T63y*_" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="]Rf
6@?xKgplLyQ-bQP"><field name="TEXT">2</field></block></value>
! <next><block type="control" id="7@xqXqZK?@Pp@Y,:@y"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pincode_2</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="JUEW2PLO|cGxTg8k@;4+"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
! <value name="IF2"><block type="logic_compare" id="8oUmv2o%~@wjdNn_2bB}"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id="D5^##Kxmy;bo1B=Nj_?"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_3</field></block></value> ! <value name="B"><block type="logic_boolean" id="=+FvloDpnlxoQhQt]biY"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO2"><block type="procedures_callnoreturn" id="?}Q)OGY}05Ms(#R@Kycz" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id=";dy%FKdEuIq;eorrIp|h"><field name="TEXT">3</field></block></value> ! <next><block type="control" id="+vtl:qmK~vj)km(70(8s"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_3</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="b.*7UU]7nnm/9Wsk#zLx"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF3"><block type="logic_compare" id="M!?}5Rn_=
mj^E0ioez~"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id="NFZ;PRG#QasQLeFww|v6"><field name="ATTR">val</field>
! <field name="OID">javascript.0.Pincode_4</field></block></value>
! <value name="B"><block type="logic_boolean" id="U/qSY2iu]_uz|AIY;cA"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO3"><block type="procedures_callnoreturn" id="G8i%d,3Hk8Lb6pdBrmS=" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="5L75
L}7L;|+}rmrp~ed"><field name="TEXT">4</field></block></value>
! <next><block type="control" id=";1Tyv0aIPQ,sD]2I?EX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_4</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="(TY)1%]o
Bki/XSRGF"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
! <value name="IF4"><block type="logic_compare" id="gGdjrCEvp4|F-9!_c+0"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="x+N2@@K^{v%b#d9D3A*C"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_5</field></block></value> ! <value name="B"><block type="logic_boolean" id="e5HB-~R%#;:(zua1A#:q"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO4"><block type="procedures_callnoreturn" id="|/1B/2TwZ]sg^_fCkpF[" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="ijb/fyL}D^0].JEH9]-P"><field name="TEXT">5</field></block></value> ! <next><block type="control" id="w7*F~Yxs3+Boc:^/.Bvw"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_5</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="g+LH3L?1bo2]k})
AFCb"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
! <value name="IF5"><block type="logic_compare" id="@h**sD7;Ec|/{~=VcOx"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id=",9]o#s/huPstS?,abr|a"><field name="ATTR">val</field>
! <field name="OID">javascript.0.Pincode_6</field></block></value>
! <value name="B"><block type="logic_boolean" id="m8UgfnHC7age(^FvFt"><field name="BOOL">TRUE</field></block></value></block></value>
! <statement name="DO5"><block type="procedures_callnoreturn" id="}7YRsjFgISkt2DLczOWQ" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
! <value name="ARG0"><block type="text" id="7GbS.fw03D#3Rk9dkG-I"><field name="TEXT">6</field></block></value>
! <next><block type="control" id="}]!omSs+SqLO),4oTZ"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_6</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="|B/M4MH[+Tp(HiO,Kmf}"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF6"><block type="logic_compare" id="V4Lo]/iv6ty6Uke?gMq."><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="grF#N7VRzA68b^W*R3~_"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_7</field></block></value> ! <value name="B"><block type="logic_boolean" id="/p@#.M-G]zLevwG*RKMZ"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO6"><block type="procedures_callnoreturn" id="1i/}iJlM;R_tsRR:E?(=" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id=",(#40YoQ1@mn[1/l,~2Q"><field name="TEXT">7</field></block></value> ! <next><block type="control" id="4,(SWkv]qPa*qN0y6@JX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_7</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="i+)@hC8=V!_7L5Om_vr8"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF7"><block type="logic_compare" id="./V
e:V9!LTku5eXmHq9"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id="i1pJ/%w0K^p+JY,sHsq"><field name="ATTR">val</field>
! <field name="OID">javascript.0.Pincode_8</field></block></value>
! <value name="B"><block type="logic_boolean" id="8tl;BxmxF6vkQBHqPx8S"><field name="BOOL">TRUE</field></block></value></block></value>
! <statement name="DO7"><block type="procedures_callnoreturn" id="mbo1trmU+,_m{,32Eur-" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation>
! <value name="ARG0"><block type="text" id="l/{bo.d],VOB8]NKMM-;"><field name="TEXT">8</field></block></value>
! <next><block type="control" id="_IU#e/wxM;zLIoXapSc"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pincode_8</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="5o[ItUtU{pey_ddb]Vo{"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
! <value name="IF8"><block type="logic_compare" id="31vz^KGQys?cG5xLnor3"><field name="OP">EQ</field>
! <value name="A"><block type="get_value" id="N=#YNd-l)Y7+{Hs-j7x|"><field name="ATTR">val</field>
! <field name="OID">javascript.0.Pincode_9</field></block></value>
! <value name="B"><block type="logic_boolean" id="0/iv=^V158w=pO:L#aW"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO8"><block type="procedures_callnoreturn" id="=2@z*Bg2jZ}Q4)dL(kL[" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="sA}=(*-aW(N3*9}=8Y!M"><field name="TEXT">9</field></block></value> ! <next><block type="control" id="7_XV(bU6Z{%reCxs+N@S"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_9</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="c=*,6iXR==5({@v3ulN{"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <value name="IF9"><block type="logic_compare" id="Bac{;rIP^+Ucy8w@{M@d"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="!JKJ(g0-UnF?h;.5owZk"><field name="ATTR">val</field> ! <field name="OID">javascript.0.Pincode_0</field></block></value> ! <value name="B"><block type="logic_boolean" id="L;tI%~Oa{Zb|e=m_sXIf"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO9"><block type="procedures_callnoreturn" id="XL)%L_.!5pO%6*%j%s1g" inline="true"><mutation name="getCode"><arg name="TastenWert"></arg></mutation> ! <value name="ARG0"><block type="text" id="Eb,viCwOsMo=Qu_Nk(;S"><field name="TEXT">0</field></block></value> ! <next><block type="control" id="3vndL}cJ_CG#!A:s+7?h"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pincode_0</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="Kk7[Q2G[UHXjBU7UuBKH"><field name="BOOL">FALSE</field></block></value></block></next></block></statement></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block> ! <block type="procedures_defnoreturn" id="t@lDFN#V:FHO31zeMUSV" x="578" y="527"><mutation><arg name="TastenWert"></arg></mutation> ! <field name="NAME">getCode</field> ! <comment pinned="false" h="80" w="160">Code pruefen</comment> ! <statement name="STACK"><block type="text_append" id="@0sNv=W?MJzk
622W]Q4"><field name="VAR">tempCode</field>
! <value name="TEXT"><shadow id="6q^nqw|R(+L0{n_l/Gc4" type="text"></shadow>
! <block type="variables_get" id="LWMvwI0w|bcPvg-n5gGg"><field name="VAR">TastenWert</field></block></value>
! <next><block type="debug" id="vjr3FKb9Vi*y+77wJTx,"><field name="Severity">log</field>
! <value name="TEXT"><shadow id=".0O)AP~8_Z^cA%~Y=0o" type="text"></shadow>
! <block type="text_join" id=")fGp8U0U/F=Wcs;KY/|"><mutation items="2"></mutation>
! <value name="ADD0"><block type="text" id=").fVwr0of^0wi[+UipI"><field name="TEXT">***Eingabe -></field></block></value>
! <value name="ADD1"><block type="variables_get" id="Cw9-Bo9Tle36/K]UpAeB"><field name="VAR">tempCode</field></block></value></block></value>
! <next><block type="comment" id="CX#2-}lbikX]g_bo}dG"><field name="COMMENT">Pin im Pinfeld anzeigen</field> ! <next><block type="controls_if" id="^)^=prWB6YQ8#?F8w-qB"><value name="IF0"><block type="logic_compare" id="-=)xyN+tFgK-gKy~duM8"><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="1N;.onyIaJ4)zw;Lj{sy"><value name="VALUE"><shadow id="RGYf
(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
! <block type="variables_get" id="EJanNNr+nCGq!#Qg01Ja"><field name="VAR">tempCode</field></block></value></block></value>
! <value name="B"><block type="math_number" id="_yFgE^_
z%[#0!YfcCO"><field name="NUM">1</field></block></value></block></value>
! <statement name="DO0"><block type="update" id="}#}]Mhr%otVgmry7,OS"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pindisplay</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="text" id="HF,wk/vYz=Zw5KJu}/Q}"><field name="TEXT"></field></block></value></block></statement>
! <next><block type="controls_if" id="s6)LhaG?LneMFAN[=?hp"><value name="IF0"><block type="logic_compare" id="1O_a6jU}{vRm^RTQ/b9"><field name="OP">EQ</field>
! <value name="A"><block type="text_length" id="YYWzBrOnAp[UA26,Z[0]"><value name="VALUE"><shadow id="RGYf*(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow> ! <block type="variables_get" id="UMZ0|
8{Cs)ReA%bt2+X"><field name="VAR">tempCode</field></block></value></block></value>
! <value name="B"><block type="math_number" id="H5%{pK%*X,zLS?frEz]m"><field name="NUM">2</field></block></value></block></value>
! <statement name="DO0"><block type="update" id="z8z5-~}#,Q.T1-QXL%ke"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pindisplay</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="text" id="U1e0uu+{]G(vP=dWY)r7"><field name="TEXT"></field></block></value></block></statement>
! <next><block type="controls_if" id="h9e;v(vwjn7Us/V1fH!"><value name="IF0"><block type="logic_compare" id="u[0~;mXARwzRY;G*4J{S"><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="jl@XkTBq/oywtUDuPV0J"><value name="VALUE"><shadow id="RGYf
(-7S#_3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
! <block type="variables_get" id="d{fkjnY8sD5De!PBLQ@"><field name="VAR">tempCode</field></block></value></block></value> ! <value name="B"><block type="math_number" id="MnY}YH2|(oy^El]b?Yb1"><field name="NUM">3</field></block></value></block></value> ! <statement name="DO0"><block type="update" id=")=|5oAL}3GX5|fcr(69O"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="cGLmkQh?3%Hb2sC7v-DY"><field name="TEXT">***</field></block></value></block></statement> ! <next><block type="controls_if" id=":|J6d%BT={/8CvBZYVwV"><value name="IF0"><block type="logic_compare" id="MgJK6bBkXbRAEjpLXWK."><field name="OP">EQ</field> ! <value name="A"><block type="text_length" id="8C=,P5Tg19j{!Nz]38EB"><value name="VALUE"><shadow id="RGYf
(-7S#3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
! <block type="variables_get" id="+n)lNTH7J#0Uo8-=l82"><field name="VAR">tempCode</field></block></value></block></value> ! <value name="B"><block type="math_number" id="ArKdmks#-Sg;tK!_3SuS"><field name="NUM">4</field></block></value></block></value> ! <statement name="DO0"><block type="update" id="
NRl[{[xD;D(|7~95To"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Pindisplay</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="text" id="T/{tOKOc;x(/9dJ7!r.t"><field name="TEXT">*</field></block></value></block></statement>
! <next><block type="controls_if" id="n5A{||l/F/:ozsHSOg4^"><mutation elseif="1"></mutation>
! <value name="IF0"><block type="logic_compare" id="T=]omffKe6S+_(UpU:6"><field name="OP">GT</field> ! <value name="A"><block type="text_length" id=";Xk,nZX;Io@ax2OT=s73"><value name="VALUE"><shadow id="RGYf
(-7S#3L-Ww7];" type="text"><field name="TEXT">abc</field></shadow>
! <block type="variables_get" id="gapi+DOc=Fi})6bl7}"><field name="VAR">tempCode</field></block></value></block></value>
! <value name="B"><block type="variables_get" id="j9RTTC,C]+Q)EY2SD}i"><field name="VAR">maxCodeLaenge</field></block></value></block></value> ! <statement name="DO0"><block type="comment" id="|T
go8I~X04G[v8TB8v3"><field name="COMMENT">Zuviele Eingaben</field>
! <next><block type="comment" id="+lM8)EEfCon1X0.Dw="><field name="COMMENT">Eingabe löschen und Versuche hochzählen</field> ! <next><block type="debug" id="sRw2Xy,4}LO3T4q.5*yM"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="+cYZRRJa1z=6hGhTLdam"><field name="TEXT">*****Zuviele Zeichen*****</field></shadow></value> ! <next><block type="comment" id="TL|;_2S2*1B3G-!!uU:J"><field name="COMMENT">Meldung im Pinfeld anzeigen</field> ! <next><block type="update" id="GOC2C{mGi~aTqiP;9C5}"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value> ! <next><block type="update" id="#OqtLfxxw=[A6uZtczAW"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="ZH!2)?ih!G@_9s)7]2Pk"><field name="TEXT">*** Zuviele Zeichen ***</field></block></value> ! <next><block type="timeouts_settimeout" id="qg*q6an]aZ*7sUvFKe:*"><field name="NAME">timeout2</field> ! <field name="DELAY">1</field> ! <field name="UNIT">sec</field> ! <statement name="STATEMENT"><block type="update" id="KwkLnL*|,hhm!2bLfNHX"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value></block></statement> ! <next><block type="variables_set" id="%D8buHC|kCUU1/KVJB[2"><field name="VAR">tempCode</field> ! <value name="VALUE"></value> ! <next><block type="procedures_callnoreturn" id="T/]?rq:p![ebfuT~k+i/"><mutation name="chkVersuche"></mutation></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement> ! <value name="IF1"><block type="logic_compare" id="lDJ@;/jzBi=HTRV]yYn,"><field name="OP">EQ</field> ! <value name="A"><block type="variables_get" id="*v]-iY2]3*a;Ir}hU9sM"><field name="VAR">tempCode</field></block></value> ! <value name="B"><block type="variables_get" id="FXw/|._t2rtHCxgNR}N{"><field name="VAR">CodeAnwesend</field></block></value></block></value> ! <statement name="DO1"><block type="comment" id="l(HPe4p~ikj;pvhZJME,"><field name="COMMENT">Eingabe korrekt</field> ! <next><block type="comment" id="]W5;w=
NCr|pS0Jvri@V"><field name="COMMENT">Nur zu Testzwecke eine Lammpe</field>
! <next><block type="control" id="Olmp]xYgxshJxPjihu}Z"><mutation delay_input="false"></mutation>
! <field name="OID">hue.0.Philips_hue.Hue_Deckenlampe_Büro_EG.on</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="logic_boolean" id="X~@e]v}!oR]GJo%+3Z5^"><field name="BOOL">TRUE</field></block></value>
! <next><block type="debug" id="U;M412@-[mW58w:2/pDZ"><field name="Severity">log</field>
! <value name="TEXT"><shadow type="text" id="/6PKtIv;asj~zH1YFWm"><field name="TEXT">*Tür öffnet</field></shadow></value>
! <next><block type="variables_set" id="JsF#tPrlP((e*D(PKz;"><field name="VAR">AnzahlVersuche</field> ! <value name="VALUE"><block type="math_number" id="_#wsFg(JuzNqSyCO63UI"><field name="NUM">0</field></block></value></block></next></block></next></block></next></block></next></block></statement> ! <next><block type="timeouts_settimeout" id="*)]FG}!jqa@!^@C404zD"><field name="NAME">timeout</field> ! <field name="DELAY">2000</field> ! <field name="UNIT">ms</field> ! <statement name="STATEMENT"><block type="comment" id="@87rub*L(JD2dLo|
Aef"><field name="COMMENT">Wenn in 5 Sek. keine weitere Eingabe erfolgt</field>
! <next><block type="comment" id="/6Z(,/]}ZhyadfHIgZ5"><field name="COMMENT">dann Eingabe löschen und Versuche hochzählen</field>
! <next><block type="variables_set" id="a3yX(4)M(27nSsHd.d-"><field name="VAR">tempCode</field>
! <value name="VALUE"></value>
! <next><block type="procedures_callnoreturn" id="Uqe6b9wNj]Sp(Zb#o#X"><mutation name="chkVersuche"></mutation> ! <next><block type="update" id="4deaz]R}xStru+WCcrf_"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Pindisplay</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"></value> ! <next><block type="debug" id="k/0,htM4ZugsatRTTb{P"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="+|?-9g}jSF9S,b*w;j/B"><field name="TEXT">Code gelöscht - Timeout</field></shadow></value> ! <next><block type="debug" id="G@,:7MZkgn{w=nxmS(ap"><field name="Severity">log</field> ! <value name="TEXT"><shadow id=".0O)AP~8_Z_^cA%~Y=0o" type="text"></shadow> ! <block type="text_join" id="_(_Qv|P.P([wC7Q}9Td%"><mutation items="2"></mutation> ! <value name="ADD0"><block type="text" id="gcq:vlFz__^qOq1q)IN3"><field name="TEXT">tempcode:</field></block></value> ! <value name="ADD1"><block type="variables_get" id="0ezwdtmS3*2gTRS
qs~e"><field name="VAR">tempCode</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block>
! <block type="procedures_defnoreturn" id="c,ULx]X]~F-z^(+{6vr" x="-38" y="1938"><field name="NAME">chkVersuche</field>
! <comment pinned="false" h="80" w="160">Fehlerhafte Eingaben zählen und Eingabe sperren wenn maxVersuche erreicht.</comment>
! <statement name="STACK"><block type="math_change" id="+bbjB}N7U3vkk:@%?[V"><field name="VAR">AnzahlVersuche</field> ! <value name="DELTA"><shadow type="math_number" id="P!Tq!OVi/*(ehXZb]uC8"><field name="NUM">1</field></shadow></value> ! <next><block type="controls_if" id="V6AzqIh:%+F@oh[M-IQ{"><value name="IF0"><block type="logic_compare" id="!CYyilZ1svbcZ]Yf=BXd"><field name="OP">EQ</field> ! <value name="A"><block type="variables_get" id="@Zmti,3QUsDg5gTF6tjC"><field name="VAR">AnzahlVersuche</field></block></value> ! <value name="B"><block type="variables_get" id="x=cs)@yt;A6[ua*T5FE|"><field name="VAR">maxVersuche</field></block></value></block></value> ! <statement name="DO0"><block type="debug" id="[d~Z|qEH+C4%5%A*xBTT"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="v.9ViGY:H4?EbA+fzjKV"><field name="TEXT">*****Eingabe gesperrt*****</field></shadow></value> ! <next><block type="update" id="@x0X6!U3?yVUdMNd7h|{"><mutation delay_input="false"></mutation> ! <field name="OID">javascript.0.Hinweisfeld</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="text" id="pk*J^i-+f2m/t+[zOM_J"><field name="TEXT">*****Eingabe gesperrt*****</field></block></value> ! <next><block type="timeouts_settimeout" id="(l|4)g2/(/@5-swvVF@2"><field name="NAME">sperren</field> ! <field name="DELAY">10</field> ! <field name="UNIT">sec</field> ! <statement name="STATEMENT"><block type="comment" id="U22mj9gD,9P)FU@4%{K~"><field name="COMMENT">Nach 10 Sek. wieder frei</field> ! <next><block type="variables_set" id="d)*rJF_51+C|Z3NMW9N+"><field name="VAR">AnzahlVersuche</field> ! <value name="VALUE"><block type="math_number" id="^)c6!p[y)V0zk(9oMl16"><field name="NUM">0</field></block></value> ! <next><block type="debug" id="SO
ZMoZ)Os7:]]y=T3yE"><field name="Severity">log</field>
! <value name="TEXT"><shadow type="text" id="5.ubt?0E+m)aiIY`J``U"><field name="TEXT">Eingabe entsperrt</field></shadow></value>
! <next><block type="update" id="n?/Wqp|%{T0nwPvf?%:T"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Hinweisfeld</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"><block type="text" id="GB9SLzcriiU0SdyEUpNs"><field name="TEXT">Entsperrt</field></block></value>
! <next><block type="timeouts_settimeout" id="nW]9op/Y^v#^H{[:+.Bx"><field name="NAME">timeout3</field>
! <field name="DELAY">2</field>
! <field name="UNIT">sec</field>
! <statement name="STATEMENT"><block type="update" id="]Lw{SdcV7|#^hS9vin^R"><mutation delay_input="false"></mutation>
! <field name="OID">javascript.0.Hinweisfeld</field>
! <field name="WITH_DELAY">FALSE</field>
! <value name="VALUE"></value>
! <next><block type="debug" id="aM7XM-wZ2Q3PGi0l^=Kf"><field name="Severity">log</field>
! <value name="TEXT"><shadow type="text" id="woQna6mN}m=s%tKD]TQ."><field name="TEXT">Eingabe entsperrt ausgeblendet</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block></next></block></statement></block></xml>
Jetzt versuche ich doch die "Enter- und Löschentaste" zu integrieren.