LikeCoin-Checker/LikeCoin_checker.pwp
2022-12-26 03:57:29 +00:00

1 line
18 KiB
Plaintext

<workspaces><workspace id="0"><xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="@,SmXLejyU(j}Em^f{vF">ratelimit_flag</variable><variable id="FawP^QIITB3!DPoPWoaY">fetch TWD</variable><variable id="/F*8rWja;sw@cyA35m4:">fetch USD</variable></variables><block type="mastodon_login" id="2HM6FUN8YByw3X0tZ^X1" x="960" y="43"><field name="token">USERNAME</field><field name="instance">DOMAIN_NAME</field><field name="ignore_my_statuses">TRUE</field><field name="include_mentions">TRUE</field></block><block type="mastodon_when" id="[*=@GWBB/-kz-becY~Jm" x="959" y="123"><field name="event">user_notification</field><statement name="statement"><block type="controls_if" id="7;S06NNRM9{n8[A:Y0al"><value name="IF0"><block type="logic_compare" id="[U9H^FrQpj`7{$#$`O=B"><field name="OP">NEQ</field><value name="A"><block type="variables_get" id="Oo*u(u+dXK)pL7DAX1u#"><field name="VAR" id="@,SmXLejyU(j}Em^f{vF">ratelimit_flag</field></block></value><value name="B"><block type="logic_boolean" id="ZRV2Uz(K*Lf_b2KK]4j="><field name="BOOL">TRUE</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="y`atOcD;:DW;LNjEJPMa"><field name="VAR" id="@,SmXLejyU(j}Em^f{vF">ratelimit_flag</field><value name="VALUE"><block type="logic_boolean" id="jPXeI+[Z=quVp6YRj`-^"><field name="BOOL">TRUE</field></block></value><next><block type="controls_if" id="#/GvN9C3ZZlOq$zj%0e%"><value name="IF0"><block type="lazurite_string_contains" id="]Tfh($3UMrJBFVFqp3K7"><value name="haystack"><shadow type="text" id="by@X#!L.}ewaKdniF7n%"><field name="TEXT">abc</field></shadow><block type="mastodon_status_content" id="O9Z:$9x1L#W=7zurRet5"><field name="type">html</field><value name="status"><block type="mastodon_event_status" id="}edD6X0W1t/-BOZ`w07%"></block></value></block></value><value name="needle"><shadow type="text" id="p*qw9t3vwxqDpbmNC!7`"><field name="TEXT">price</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="k}$I4v_*6/*.3WJ;Fbpn"><field name="VAR" id="FawP^QIITB3!DPoPWoaY">fetch TWD</field><value name="VALUE"><block type="internet_json_to_table" id="{JwOFtn-40/JP11s4bv["><field name="type">text</field><value name="url"><shadow type="text" id="qRTS.bV9Y|./.ZcP__TI"><field name="TEXT">https://coinmarketcap.com/zh-tw/currencies/likecoin/</field></shadow></value></block></value><next><block type="variables_set" id="~SeyRqT4FJ8sgLTqFa*I"><field name="VAR" id="/F*8rWja;sw@cyA35m4:">fetch USD</field><value name="VALUE"><block type="internet_json_to_table" id="+2V6u,?0q6dzEFv.Im1["><field name="type">text</field><value name="url"><shadow type="text" id="f8iw8_i9,fFmhTeZ76%O"><field name="TEXT">https://coinmarketcap.com/currencies/likecoin/</field></shadow></value></block></value><next><block type="mastodon_send" id="{A19(MJsmrq[IM~h8R5O"><field name="format">text/plain</field><value name="content"><block type="text_join" id="|91rD8.#2~HW8u+GQ-M#"><mutation items="8"></mutation><value name="ADD0"><block type="lazurite_new_line" id="wVSt-=rm@lv7m*rMovgr"></block></value><value name="ADD1"><block type="text" id="5h^-dB4+sAxO$`$.zmm$"><field name="TEXT">1 LIKE :likecoin: =</field></block></value><value name="ADD2"><block type="lazurite_new_line" id="[8~+Iu0V5eQ0z.{cG%{*"></block></value><value name="ADD3"><block type="lazurite_string_replace" id="bC=exa:4N?3:SKdXMT:f"><value name="needle"><shadow type="text" id="5,;X?kD[yIA_kP]-vqie"><field name="TEXT">&lt;</field></shadow></value><value name="replacement"><shadow type="text" id=")P6:39IZ#_HdRxb6V2X%"><field name="TEXT">0</field></shadow></value><value name="haystack"><shadow type="text" id="-s{yFdU^n*tL,J;M{~z7"><field name="TEXT">abcdef</field></shadow><block type="lazurite_string_replace" id="DQD(m]RpJdzHGt_!}Sak"><value name="needle"><shadow type="text" id="^^2H=huNdIHX7AEO;Q]?"><field name="TEXT">&gt;</field></shadow></value><value name="replacement"><shadow type="text" id="pQ*eswhX@15FY:P***8Z"><field name="TEXT">0</field></shadow></value><value name="haystack"><shadow type="text" id="NhsCZA*o*=T8+sKAvB[;"><field name="TEXT">abcdef</field></shadow><block type="text_getSubstring" id="JC;hqnMEufAwMdTkA`@G"><mutation at1="true" at2="true"></mutation><field name="WHERE1">FROM_START</field><field name="WHERE2">FROM_START</field><value name="STRING"><block type="variables_get" id="hV{H/(#01OC;fQ5=5h,w"><field name="VAR" id="FawP^QIITB3!DPoPWoaY">fetch TWD</field></block></value><value name="AT1"><block type="math_arithmetic" id=";w0Vh:}g$p=Y-yZmcSIc"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="wrdWEKuEg3O?R+k`$cXI"><field name="NUM">1</field></shadow><block type="text_indexOf" id="|zL[_.NtaAb?s{[P@34="><field name="END">FIRST</field><value name="VALUE"><block type="variables_get" id="#8v/_$Z`A]u@D61{[^i/"><field name="VAR" id="FawP^QIITB3!DPoPWoaY">fetch TWD</field></block></value><value name="FIND"><shadow type="text" id="@jWkAvZY-n[x_zx2HsQ)"><field name="TEXT">NT$</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="[uPTb-3xccVxUamoxX7/"><field name="NUM">2</field></shadow></value></block></value><value name="AT2"><block type="math_arithmetic" id="fmHxnqFBdy|8{o{sRxN2"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="text_indexOf" id=",oJdntH1Ypxf%Rc6qK=/"><field name="END">FIRST</field><value name="VALUE"><block type="variables_get" id="!CAJZ:v5c(}{Nv%8CG^F"><field name="VAR" id="FawP^QIITB3!DPoPWoaY">fetch TWD</field></block></value><value name="FIND"><shadow type="text" id="3hph2Na~T6t~CFt/$^u9"><field name="TEXT">NT$</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="?$dz+{2EVupn?:FJnI8^"><field name="NUM">8</field></shadow></value></block></value></block></value></block></value></block></value><value name="ADD4"><block type="text" id="=$^QKKdMCvkd8ck6M:mh"><field name="TEXT"> TWD</field></block></value><value name="ADD5"><block type="lazurite_new_line" id="Kgbo)X-Tv6GW9}A{YtoJ"></block></value><value name="ADD6"><block type="lazurite_string_replace" id="2lv7CF[y[x/MVKi6(h!n"><value name="needle"><shadow type="text" id="I]Px.V{i{IP4k1[bhf_X"><field name="TEXT">&lt;</field></shadow></value><value name="replacement"><shadow type="text" id="*0-yp)LtGUDve=Ylfrr5"><field name="TEXT">0</field></shadow></value><value name="haystack"><shadow type="text"><field name="TEXT">abcdef</field></shadow><block type="lazurite_string_replace" id="UUClWn{JSR0;m!5rW7[3"><value name="needle"><shadow type="text" id="AAH|deDWVP1MYR}akSr)"><field name="TEXT">&gt;</field></shadow></value><value name="replacement"><shadow type="text" id="_Y2L?uu-Sn@UMQu#A?f$"><field name="TEXT">0</field></shadow></value><value name="haystack"><shadow type="text" id="x[dAoC}-xnKs@Ie|i|[v"><field name="TEXT">abcdef</field></shadow><block type="text_getSubstring" id="ST1FbFy76Sb3;paDQ4uR"><mutation at1="true" at2="true"></mutation><field name="WHERE1">FROM_START</field><field name="WHERE2">FROM_START</field><value name="STRING"><block type="variables_get" id="xpKo?(J{{SW=-8sSaR^@"><field name="VAR" id="/F*8rWja;sw@cyA35m4:">fetch USD</field></block></value><value name="AT1"><block type="math_arithmetic" id="=.L^Ubk{n):^b.9[l;{M"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="RNxso*3N39d//Y/+d7Y;"><field name="NUM">1</field></shadow><block type="text_indexOf" id="hmrJ,z~#?.yF5MVk2K+)"><field name="END">FIRST</field><value name="VALUE"><block type="variables_get" id="W#M1EP?wxFaYDc%NF0tM"><field name="VAR" id="/F*8rWja;sw@cyA35m4:">fetch USD</field></block></value><value name="FIND"><shadow type="text" id="]L)n3P;vsa|@7==cmfeb"><field name="TEXT">$0.0</field></shadow></value></block></value><value name="B"><shadow type="math_number" id=")33cexWQ.EG6yO$iA/uh"><field name="NUM">0</field></shadow></value></block></value><value name="AT2"><block type="math_arithmetic" id="|8Lom!a8?){o7,[OQY4*"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="text_indexOf" id="(.],o@0w=Yi!H~R^XAC6"><field name="END">FIRST</field><value name="VALUE"><block type="variables_get" id="$5uL2Cp=K[LP,#`qd#VC"><field name="VAR" id="/F*8rWja;sw@cyA35m4:">fetch USD</field></block></value><value name="FIND"><shadow type="text" id="%E1x{DCbbXWWjNW5}*|H"><field name="TEXT">$0.0</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="Ix6Cjt,7eRb6.M=S:PPF"><field name="NUM">8</field></shadow></value></block></value></block></value></block></value></block></value><value name="ADD7"><block type="text" id="B39#.mGIz,hS(*x7DH=u"><field name="TEXT"> USD</field></block></value></block></value><value name="scope"><shadow type="mastodon_scope" id="-P$t:JCtk0^iyJe;u7cj"><field name="scope">unlisted</field></shadow><block type="mastodon_scope" id="j^S{#JND]U|:Fzu^6{td"><field name="scope">unlisted</field></block></value><value name="post"><block type="mastodon_event_status" id="oG:)xi-VF`)q3|Pfm/.}"></block></value><next><block type="lazurite_timer_wait" id="w~}ppX|{CX+,MB!,o!bK"><value name="time"><block type="lazurite_timer_time" id="u%3n.-__v*VOx$w2ghMm"><field name="unit">seconds</field><value name="count"><shadow type="math_number" id="PCbMSW@DlZISiGS--/-)"><field name="NUM">30</field></shadow></value></block></value><next><block type="variables_set" id="t6?dIr#X^pU*tK*gYc]="><field name="VAR" id="@,SmXLejyU(j}Em^f{vF">ratelimit_flag</field><value name="VALUE"><block type="logic_boolean" id="S:1,%XE/ql`REX!K}sMw"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></statement></block><block type="lazurite_rss_when" id="O~f($b@!5Mk#1P10}y=w" x="-210" y="885"><value name="feed"><block type="lazurite_rss_feed" id="fiSEcDH]?sX44=9@YQJh"><value name="url"><block type="text" id="DWx:a`9C[{/I]s3@VU]v"><field name="TEXT">https://blog.like.co/en/feed/</field></block></value></block></value><statement name="do"><block type="mastodon_send" id=".Z?Yxe=s?}%,7+3iWn2_"><field name="format">text/plain</field><value name="content"><block type="text_join" id="Fp^ehj|%nfbd0Eum343~"><mutation items="13"></mutation><value name="ADD0"><block type="text" id=";s2jKxF)l2^k{zc$U-lm"><field name="TEXT">This post is fetched from the RSS feed</field></block></value><value name="ADD1"><block type="lazurite_new_line" id="a7rim#{5.arfqfeBjuh,"></block></value><value name="ADD2"><block type="lazurite_rss_item_property" id="pfKp,!u3SzoN$mmUf+S["><field name="property">author</field><value name="item"><block type="lazurite_rss_watch_item" id="j+(`Q_L[gNl,|bi:uDu}"></block></value></block></value><value name="ADD3"><block type="lazurite_new_line" id="Td)I-BTO,~=Z1z/A{bYJ"></block></value><value name="ADD4"><block type="lazurite_rss_item_property" id="/xvJ|?OK_?l$jMQF%OjR"><field name="property">title</field><value name="item"><block type="lazurite_rss_watch_item" id="QaGPH4T!tc|~r:H.C253"></block></value></block></value><value name="ADD5"><block type="text" id="e/9l_z2qF*cPy4b=ERX~"><field name="TEXT"> - </field></block></value><value name="ADD6"><block type="lazurite_rss_feed_property" id="6Wc;],e,?wP@|I,wI1Pb"><field name="property">title</field><value name="feed"><block type="lazurite_rss_watch_feed" id="Q[U~A~k{v|]sn-Zu-Eiw"></block></value></block></value><value name="ADD7"><block type="lazurite_new_line" id="m9^Mxx|^wN]bw0TKhLRn"></block></value><value name="ADD8"><block type="lazurite_rss_item_property" id="sba{XnZIn_FEvHU7X|3{"><field name="property">link</field><value name="item"><block type="lazurite_rss_watch_item" id="g8ybiTmlNldp$%~0;[q?"></block></value></block></value><value name="ADD9"><block type="lazurite_new_line" id="OlJT,0#r$2A:eP7pj/%4"></block></value><value name="ADD10"><block type="lazurite_new_line" id="fcva%_/2b#;1Cen[Bwfv"></block></value><value name="ADD11"><block type="text_getSubstring" id="@6o~sV+Nn`ll0@9fzJej"><mutation at1="false" at2="true"></mutation><field name="WHERE1">FIRST</field><field name="WHERE2">FROM_START</field><value name="STRING"><block type="lists_getIndex" id="`=od;;2.S1hhw6%wYzQH"><mutation statement="false" at="false"></mutation><field name="MODE">GET</field><field name="WHERE">FIRST</field><value name="VALUE"><block type="lists_split" id="lWCa4,q}.ZwtA].O69-t"><mutation mode="SPLIT"></mutation><field name="MODE">SPLIT</field><value name="INPUT"><block type="lazurite_rss_item_description" id=")ulx@Csw#!{K[TW~eKZ?"><field name="type">text</field><value name="item"><block type="lazurite_rss_watch_item" id=")cb@oWZZ1,.*-Sx==4dV"></block></value></block></value><value name="DELIM"><shadow type="text" id=")5VLSxsxE]KjK@J7ER1M"><field name="TEXT">,</field></shadow><block type="lazurite_new_line" id="T;*Gw@N~q%)CV6)E!2V!"></block></value></block></value></block></value><value name="AT2"><block type="math_number" id="}}PBM7#0~]zBFTuLZaZ."><field name="NUM">200</field></block></value></block></value><value name="ADD12"><block type="text" id="+}7i{D^h:Qw9EQdXKAzw"><field name="TEXT">...</field></block></value></block></value><value name="scope"><shadow type="mastodon_scope" id="/FuKxrlyn0S(li)Y8:9r"><field name="scope">unlisted</field></shadow><block type="mastodon_scope" id="n+Mu}#pQ%9TJ{/jWwv4F"><field name="scope">public</field></block></value><next><block type="lazurite_timer_wait" id="~}gTaQsAAJiT.Y-GX{j3"><value name="time"><block type="lazurite_timer_time" id="Q{.~}.L^~K?Dwa6#ApZ?"><field name="unit">hours</field><value name="count"><shadow type="math_number" id="mB+-2q,Ph+D,?KoJnUU#"><field name="NUM">2</field></shadow></value></block></value></block></next></block></statement></block><block type="lazurite_rss_when" id="|i3fFF]tVS4$J9EbEoD`" x="-207" y="1508"><value name="feed"><block type="lazurite_rss_feed" id="{R`3IZ|hPJT4:TG:W2@2"><value name="url"><block type="text" id="l}ok;nj(BiI%!znUt$Ox"><field name="TEXT">https://blog.like.co/zh/feed/</field></block></value></block></value><statement name="do"><block type="mastodon_send" id="4I=x5rMhyy}l+p93[~`8"><field name="format">text/plain</field><value name="content"><block type="text_join" id="sh2H9-wY#Vl|oyF~$@%!"><mutation items="13"></mutation><value name="ADD0"><block type="text" id="(8o:);CvT,nRqN;,LO9`"><field name="TEXT">本文來自 RSS feed</field></block></value><value name="ADD1"><block type="lazurite_new_line" id=",omkcN}PqPAUzD_YBFef"></block></value><value name="ADD2"><block type="lazurite_rss_item_property" id="+u~;HDzz5q-{}[erBzfL"><field name="property">author</field><value name="item"><block type="lazurite_rss_watch_item" id="*kfd({Y-uoN`e@,XM%!Q"></block></value></block></value><value name="ADD3"><block type="lazurite_new_line" id="mGMJd|qAJ#E%p|v6`Ct_"></block></value><value name="ADD4"><block type="lazurite_rss_item_property" id=".9@jP.e-pj?dX7.U)D6{"><field name="property">title</field><value name="item"><block type="lazurite_rss_watch_item" id="TfF}Z9HSm:[@?NeSxPkc"></block></value></block></value><value name="ADD5"><block type="text" id="[fO;M:Mf1LIWn*v*WcVU"><field name="TEXT"> - </field></block></value><value name="ADD6"><block type="lazurite_rss_feed_property" id="Ot!-B]9;f2oR2`C:G@7P"><field name="property">title</field><value name="feed"><block type="lazurite_rss_watch_feed" id="R)31|,T#TG`8A;7#oMY!"></block></value></block></value><value name="ADD7"><block type="lazurite_new_line" id="D}w*/GD.|aD?FHee4Jz-"></block></value><value name="ADD8"><block type="lazurite_rss_item_property" id="TH}~+5xqZKPaJ,~w4?1s"><field name="property">link</field><value name="item"><block type="lazurite_rss_watch_item" id="t6v;x0Ch,W|b5m/vndj-"></block></value></block></value><value name="ADD9"><block type="lazurite_new_line" id="1})|~w!z/33kw#joa0/N"></block></value><value name="ADD10"><block type="lazurite_new_line" id="/8)5`8Bm*WcyqMt!0m{X"></block></value><value name="ADD11"><block type="text_getSubstring" id="[in/Z(tFNS!Zi-/K-p{z"><mutation at1="false" at2="true"></mutation><field name="WHERE1">FIRST</field><field name="WHERE2">FROM_START</field><value name="STRING"><block type="lists_getIndex" id="3!O!=^$Al$ovosURIj-T"><mutation statement="false" at="false"></mutation><field name="MODE">GET</field><field name="WHERE">FIRST</field><value name="VALUE"><block type="lists_split" id="S!|406$9_iDJGVr=#zR!"><mutation mode="SPLIT"></mutation><field name="MODE">SPLIT</field><value name="INPUT"><block type="lazurite_rss_item_description" id="zH:h.Ome%T1o%mYsR8F]"><field name="type">text</field><value name="item"><block type="lazurite_rss_watch_item" id="~dYmYLvr[|hLC_*XC]3V"></block></value></block></value><value name="DELIM"><shadow type="text"><field name="TEXT">,</field></shadow><block type="lazurite_new_line" id="ha@|[eGZ:wF|bN,wEg@L"></block></value></block></value></block></value><value name="AT2"><block type="math_number" id="0W=OPt2tYE:]IQBJ-3~5"><field name="NUM">200</field></block></value></block></value><value name="ADD12"><block type="text" id="_NiLHgXhwPGpfa|.#lsc"><field name="TEXT">...</field></block></value></block></value><value name="scope"><shadow type="mastodon_scope"><field name="scope">unlisted</field></shadow><block type="mastodon_scope" id="enveZRWweU#zN3D^G5qY"><field name="scope">public</field></block></value><next><block type="lazurite_timer_wait" id=".:gB5m~f5;?e3aNyJ9di"><value name="time"><block type="lazurite_timer_time" id="(5zDXkj`j2eV4M@%[WRf"><field name="unit">hours</field><value name="count"><shadow type="math_number" id="uspj{wR%MV?{c{xObiom"><field name="NUM">2</field></shadow></value></block></value></block></next></block></statement></block></xml></workspace><workspace id="1"><xml xmlns="https://developers.google.com/blockly/xml"></xml></workspace><workspace id="2"><xml xmlns="https://developers.google.com/blockly/xml"></xml></workspace><workspace id="3"><xml xmlns="https://developers.google.com/blockly/xml"></xml></workspace><workspace id="4"><xml xmlns="https://developers.google.com/blockly/xml"></xml></workspace></workspaces>