<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="toV%#XU#+u-q8j}%lQO5">i</variable>
<variable id="=laq7tvUO(q,%US6)j!u">j</variable>
<variable type="timeout" id="timeout">timeout</variable>
<variable id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</variable>
<variable id="dl(4-B)s(J1z0(yKCcPM">eventDatum</variable>
</variables>
<block type="comment" id="j6e86Yh}})qd~}SJM:_y" x="-137" y="-537">
<field name="COMMENT">jede stunde check</field>
<next>
<block type="schedule" id="/Z@?iF|RB-}UWrCdgO8l">
<field name="SCHEDULE">3 * * * *</field>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="A3h[pUrx|MqlRSn$*JPQ">
<mutation name="etwas tun"></mutation>
</block>
</statement>
</block>
</next>
</block>
<block type="procedures_defcustomreturn" id=".4jhH[;Isgq*k0Elo0tw" x="462" y="-412">
<mutation statements="false">
<arg name="i" varid="toV%#XU#+u-q8j}%lQO5"></arg>
<arg name="j" varid="=laq7tvUO(q,%US6)j!u"></arg>
</mutation>
<field name="NAME">StringManipulation2</field>
<field name="SCRIPT">DQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KGkpKQ0KbGV0IG15RXJnZWJuaXM9LTE7DQpsZXQgamV0enRUaW1lPW5ldyBEYXRlKCkuZ2V0VGltZSgpDQoNCg0KZm9yIChsZXQgYWE9MDthYTxpLmxlbmd0aDthYSsrKXsNCiAgIC8vIGxvZyhpW2FhXS5ldmVudCkNCiAgICBsZXQgdGVybWluVGltZT1OdW1iZXIobmV3IERhdGUoaVthYV0uX2RhdGUpLmdldFRpbWUoKSkNCiAgICBsb2codGVybWluVGltZS1qZXR6dFRpbWUpDQogICAgaWYoaVthYV0uZXZlbnQuaW5jbHVkZXMoaikgJiYgdGVybWluVGltZS1qZXR6dFRpbWU+MCkgey8qbG9nKGlbYWFdLmV2ZW50KTsqL215RXJnZWJuaXM9aVthYV0uZGF0ZTtzdWNoQmVncmlmZj1pW2FhXS5ldmVudDticmVha30NCiAgIA0KfQ0KDQoNCi8vbG9nKG15RXJnZWJuaXMpDQpyZXR1cm4gbXlFcmdlYm5pczs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="comment" id="G_V|(=^[ypn!vkvsU]XB" x="-212" y="-362">
<field name="COMMENT">beim scriptstart check</field>
<next>
<block type="procedures_callnoreturn" id="(T6N=EXH(4.!PxCR{IYK">
<mutation name="etwas tun"></mutation>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="0N=R]U_AG[J;@9EK(vYA" x="138" y="-362">
<field name="NAME">etwas tun</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="debug" id="ad$]%p%RkeI%BxJKt469">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="^2eW4BEub1^5b;yPYf=O">
<field name="TEXT">test</field>
</shadow>
<block type="get_value" id="pNaLg6ywW,iFN=^nZ@tF">
<field name="ATTR">val</field>
<field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
</block>
</value>
<next>
<block type="controls_if" id="k$7XJl4TwwsH#F^BA]o!">
<value name="IF0">
<block type="logic_compare" id="M76Fa)lSqWA4~DpUBx]#">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value" id="~cXDg*N0V}(j;3:-g@=W">
<field name="ATTR">val</field>
<field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
</block>
</value>
<value name="B">
<block type="text" id="(L7Thmh8pK[9|obXZlJE">
<field name="TEXT">Invalid date</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="REz{J.~}%h,YKvF[zs=_">
<field name="COMMENT">hier suchbegriff eingeben</field>
<next>
<block type="variables_set" id="Yn_03ee.K$F#2@`28d/M">
<field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
<value name="VALUE">
<block type="text" id="_%5/XWgSJPtR10.BNE?,">
<field name="TEXT">testgoogle</field>
</block>
</value>
<next>
<block type="variables_set" id="[xt^RuL~Y|TiS0Re2?+#">
<field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
<value name="VALUE">
<block type="procedures_callcustomreturn" id="g?#2EB$^BkG@k+r=Bv|]">
<mutation name="StringManipulation2">
<arg name="i"></arg>
<arg name="j"></arg>
</mutation>
<value name="ARG0">
<block type="get_value" id="?}[v,-QV{dczpnW|a=qd">
<field name="ATTR">val</field>
<field name="OID">ical.0.data.table</field>
</block>
</value>
<value name="ARG1">
<block type="variables_get" id="K2N=*^9uaX6H0}j]s5=*">
<field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="/zQZ~5M`WY$~j~oKdH5z">
<value name="IF0">
<block type="logic_compare" id="Z?!zm|/x#bu*Q7]r4,%4">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="F$bDE3t^u;v%QO/XXCr6">
<field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
</block>
</value>
<value name="B">
<block type="math_number" id="NcEs_VXKEGxjrfy]h3_[">
<field name="NUM">-1</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="sendto_custom" id="^YhY9:$x2@qbWS~VCIK5">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="name,date" with_statement="false"></mutation>
<field name="INSTANCE">countdown.0</field>
<field name="COMMAND">send</field>
<field name="LOG"></field>
<field name="WITH_STATEMENT">FALSE</field>
<value name="ARG0">
<shadow type="text" id="tl;X*tr8on5.=HLtbZ/a">
<field name="TEXT">FC Basel</field>
</shadow>
</value>
<value name="ARG1">
<shadow type="text" id="y/t5`WMGw*c4N:#sdPa_">
<field name="TEXT"></field>
</shadow>
<block type="variables_get" id="s)+RK.KUUfie[zN:Tywv">
<field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
</block>
</value>
<next>
<block type="comment" id="@uK?Qf/kh|@heM}Tk9uC">
<field name="COMMENT">extra datenpunkt für namensgebung</field>
<next>
<block type="control" id="uXG,7qdhL8|?C3}od=?I">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.CONTROL-OWN.AAATEST.TestString3</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text_join" id="Zs=q~.oy@-0qwbp1)zpY">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="variables_get" id="5*V4+R9Jk3Qqa+#(E:-8">
<field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="7cNrB9:j~Cv(XHq2YlJO">
<field name="TEXT"> - testAusgabe</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
<block type="comment" id="isqUSbF].;LNH[UPvx:M" x="-287" y="-262">
<field name="COMMENT">wenn timer abgelaufen check</field>
<next>
<block type="comment" id="Ll:4~U0m?h3RX8dU9qfy">
<field name="COMMENT">wenn ical0 geändert - check</field>
<next>
<block type="on_ext" id="Y:?1wx{7^s0oge[=Y2mL">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="^i|V1-4b4ry]#HY{95P0">
<field name="oid">countdown.0.countdowns.FC Basel.reached</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="~Rg*PL%T(xsgFno;zT/O">
<field name="oid">ical.0.data.table</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="timeouts_settimeout" id="M0p2VkDf=$/lw.?QCu*J">
<field name="NAME">timeout</field>
<field name="DELAY">5</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="jg5gbBuQuyU)VTHWW0Rt">
<mutation name="etwas tun"></mutation>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>