Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.06 KB | None | 0 0
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <block type="command_handler" id="gkQ%m0R+HwS[*?:b!G[]" x="0" y="0">
  3. <field name="msg">Message</field>
  4. <field name="query">Query</field>
  5. <field name="command">/calculate</field>
  6. <statement name="code">
  7. <block type="send_message" id="512_-Hh+j3cD,*sO,[S4">
  8. <value name="id">
  9. <block type="get_chat_id" id="PA-XcI1;lQN]}kx@kSmA">
  10. <value name="msg">
  11. <block type="variables_get" id="`AaOidV-`6D[oM`ILCxN">
  12. <field name="VAR">Message</field>
  13. </block>
  14. </value>
  15. </block>
  16. </value>
  17. <value name="message">
  18. <shadow type="text" id="#,`{c{fvNUT2@d-EK8o6">
  19. <field name="TEXT"></field>
  20. </shadow>
  21. <block type="text_join" id="4YQ4+t^-+FH66;SfFIgZ">
  22. <mutation items="2"></mutation>
  23. <value name="ADD0">
  24. <block type="text" id="K[!D%y6s9S=8:^:;q`ES">
  25. <field name="TEXT">the answer is : </field>
  26. </block>
  27. </value>
  28. <value name="ADD1">
  29. <block type="procedures_callreturn" id="wv5@UewrKnOE-BlG4Gn`">
  30. <mutation name="calculate">
  31. <arg name="Q"></arg>
  32. </mutation>
  33. <value name="ARG0">
  34. <block type="variables_get" id="#e)V}FAOl{+U:^BTLv}W">
  35. <field name="VAR">Query</field>
  36. </block>
  37. </value>
  38. </block>
  39. </value>
  40. </block>
  41. </value>
  42. </block>
  43. </statement>
  44. </block>
  45. <block type="procedures_defreturn" id="gX];MH{C|440WvThkjEs" x="0" y="305">
  46. <mutation>
  47. <arg name="Q"></arg>
  48. </mutation>
  49. <field name="NAME">calculate</field>
  50. <comment pinned="false" h="80" w="160">Describe this function...</comment>
  51. <statement name="STACK">
  52. <block type="variables_set" id="xszK}KowRU9qvodOc](:">
  53. <field name="VAR">x</field>
  54. <value name="VALUE">
  55. <block type="parse_number" id="j`B-GMCal+?I1{L~a=c1">
  56. <value name="string">
  57. <block type="lists_getIndex" id="pBtV^RrjkZXz:o=p*sUP">
  58. <mutation statement="false" at="true"></mutation>
  59. <field name="MODE">GET</field>
  60. <field name="WHERE">FROM_START</field>
  61. <value name="VALUE">
  62. <block type="lists_split" id="yqCY~yb`DU8`5(e5IIxA">
  63. <mutation mode="SPLIT"></mutation>
  64. <field name="MODE">SPLIT</field>
  65. <value name="INPUT">
  66. <block type="variables_get" id="PrtgR_)yYfD`!;~mN/nJ">
  67. <field name="VAR">Q</field>
  68. </block>
  69. </value>
  70. <value name="DELIM">
  71. <shadow type="text" id="6/[3ec;aq,2Rp^k908n3">
  72. <field name="TEXT"> </field>
  73. </shadow>
  74. </value>
  75. </block>
  76. </value>
  77. <value name="AT">
  78. <block type="math_number" id="|~(3QR`C5a?mA=Tb:QlV">
  79. <field name="NUM">2</field>
  80. </block>
  81. </value>
  82. </block>
  83. </value>
  84. </block>
  85. </value>
  86. <next>
  87. <block type="variables_set" id="V/zNFStS8:xyP5O/!a5R">
  88. <field name="VAR">y</field>
  89. <value name="VALUE">
  90. <block type="parse_number" id="F?ULaJ]@IE|%R!k;5O/w">
  91. <value name="string">
  92. <block type="lists_getIndex" id="PFAJIN6_qNuWMRRd=jTM">
  93. <mutation statement="false" at="true"></mutation>
  94. <field name="MODE">GET</field>
  95. <field name="WHERE">FROM_START</field>
  96. <value name="VALUE">
  97. <block type="lists_split" id=".5i{ryq!64^1@-wy02_E">
  98. <mutation mode="SPLIT"></mutation>
  99. <field name="MODE">SPLIT</field>
  100. <value name="INPUT">
  101. <block type="variables_get" id="nh8i:h~UZ%c|-X{L5}Zk">
  102. <field name="VAR">Q</field>
  103. </block>
  104. </value>
  105. <value name="DELIM">
  106. <shadow type="text" id="!}w+H}cSX7{pc(6m1ZCg">
  107. <field name="TEXT"> </field>
  108. </shadow>
  109. </value>
  110. </block>
  111. </value>
  112. <value name="AT">
  113. <block type="math_number" id="o-a}3+00)W}u=g9q[mj1">
  114. <field name="NUM">3</field>
  115. </block>
  116. </value>
  117. </block>
  118. </value>
  119. </block>
  120. </value>
  121. <next>
  122. <block type="controls_if" id="PD5)FK/rIr]Kz6k=LsRi">
  123. <mutation elseif="4" else="1"></mutation>
  124. <value name="IF0">
  125. <block type="logic_compare" id="Jf-nu-u8=%rDkG/[=g`%">
  126. <field name="OP">EQ</field>
  127. <value name="A">
  128. <block type="parse_number" id="FMvi:9[fojuEOllM[[@;">
  129. <value name="string">
  130. <block type="lists_getIndex" id="qvfX[~Y[z*U!Az]C(xe3">
  131. <mutation statement="false" at="true"></mutation>
  132. <field name="MODE">GET</field>
  133. <field name="WHERE">FROM_START</field>
  134. <value name="VALUE">
  135. <block type="lists_split" id="y)*9^T9@GThRQlTFWCj6">
  136. <mutation mode="SPLIT"></mutation>
  137. <field name="MODE">SPLIT</field>
  138. <value name="INPUT">
  139. <block type="variables_get" id="DcUH70X*;Mnzy#POjF~B">
  140. <field name="VAR">Q</field>
  141. </block>
  142. </value>
  143. <value name="DELIM">
  144. <shadow type="text" id="^lyeUWrbMMfVjw+7au?}">
  145. <field name="TEXT"> </field>
  146. </shadow>
  147. </value>
  148. </block>
  149. </value>
  150. <value name="AT">
  151. <block type="math_number" id="?bjqHr8A/GEhtSog9SIC">
  152. <field name="NUM">4</field>
  153. </block>
  154. </value>
  155. </block>
  156. </value>
  157. </block>
  158. </value>
  159. <value name="B">
  160. <block type="text" id="zxIsbZqbxg?@oS^)IpyU">
  161. <field name="TEXT">+</field>
  162. </block>
  163. </value>
  164. </block>
  165. </value>
  166. <statement name="DO0">
  167. <block type="variables_set" id="^^{+Sf0A/I7^S(qW!Y8#">
  168. <field name="VAR">answer</field>
  169. <value name="VALUE">
  170. <block type="math_arithmetic" id="acevcs)cAO:|E5/l;HZB">
  171. <field name="OP">ADD</field>
  172. <value name="A">
  173. <shadow type="math_number" id="r{~((k}E-AfJFuCn1G0s">
  174. <field name="NUM">1</field>
  175. </shadow>
  176. <block type="variables_get" id="k:iKb|]Gau,[Ict*-k?X">
  177. <field name="VAR">x</field>
  178. </block>
  179. </value>
  180. <value name="B">
  181. <shadow type="math_number" id="jd,i3Mze}Sy2*~)Pz+-M">
  182. <field name="NUM">1</field>
  183. </shadow>
  184. <block type="variables_get" id="zPFiv24B%q8dYA^h8f6u">
  185. <field name="VAR">y</field>
  186. </block>
  187. </value>
  188. </block>
  189. </value>
  190. </block>
  191. </statement>
  192. <value name="IF1">
  193. <block type="logic_compare" id="M04^=%?:wAM5~rMQ_=`~">
  194. <field name="OP">EQ</field>
  195. <value name="A">
  196. <block type="parse_number" id="W(}1TV^H/9P5Punfbt(2">
  197. <value name="string">
  198. <block type="lists_getIndex" id="T`}V!7HSM[GV_3LRfE:Q">
  199. <mutation statement="false" at="true"></mutation>
  200. <field name="MODE">GET</field>
  201. <field name="WHERE">FROM_START</field>
  202. <value name="VALUE">
  203. <block type="lists_split" id="2*`?D2EXKrMf]wSE?T{^">
  204. <mutation mode="SPLIT"></mutation>
  205. <field name="MODE">SPLIT</field>
  206. <value name="INPUT">
  207. <block type="variables_get" id="CIqq^kXW2b3WGu0V=f/z">
  208. <field name="VAR">Q</field>
  209. </block>
  210. </value>
  211. <value name="DELIM">
  212. <shadow type="text" id="5f6.pbBl%^4m*2`7xL4T">
  213. <field name="TEXT"> </field>
  214. </shadow>
  215. </value>
  216. </block>
  217. </value>
  218. <value name="AT">
  219. <block type="math_number" id="[!!m=kAOD=`qW4=-_9o}">
  220. <field name="NUM">4</field>
  221. </block>
  222. </value>
  223. </block>
  224. </value>
  225. </block>
  226. </value>
  227. <value name="B">
  228. <block type="text" id="FGzu+A,~w!@]X!]%8nqb">
  229. <field name="TEXT">-</field>
  230. </block>
  231. </value>
  232. </block>
  233. </value>
  234. <statement name="DO1">
  235. <block type="variables_set" id="/xC)r;`=1^[J/4BpPPxk">
  236. <field name="VAR">answer</field>
  237. <value name="VALUE">
  238. <block type="math_arithmetic" id="j;e3W@k7yBa@Qam1Pp7m">
  239. <field name="OP">MINUS</field>
  240. <value name="A">
  241. <shadow type="math_number" id="eJ.%W}PI])|?oe0Az_yk">
  242. <field name="NUM">1</field>
  243. </shadow>
  244. <block type="variables_get" id="+9Dy%L!Sk]#:gIOfzZ_j">
  245. <field name="VAR">x</field>
  246. </block>
  247. </value>
  248. <value name="B">
  249. <shadow type="math_number" id="o,%W(u+vE!,AVG|!{4F!">
  250. <field name="NUM">1</field>
  251. </shadow>
  252. <block type="variables_get" id="h3Bj,Pk@@aG.EmM?,LD]">
  253. <field name="VAR">y</field>
  254. </block>
  255. </value>
  256. </block>
  257. </value>
  258. </block>
  259. </statement>
  260. <value name="IF2">
  261. <block type="logic_compare" id="_/`5pY`zhPMCv/=XOJ=t">
  262. <field name="OP">EQ</field>
  263. <value name="A">
  264. <block type="parse_number" id="^zqMw-1#IiWDW/0owe;}">
  265. <value name="string">
  266. <block type="lists_getIndex" id="6E/KL!5.=8klX3_Mi!IK">
  267. <mutation statement="false" at="true"></mutation>
  268. <field name="MODE">GET</field>
  269. <field name="WHERE">FROM_START</field>
  270. <value name="VALUE">
  271. <block type="lists_split" id="0=:,U|Kaspi0]G/;Q|3X">
  272. <mutation mode="SPLIT"></mutation>
  273. <field name="MODE">SPLIT</field>
  274. <value name="INPUT">
  275. <block type="variables_get" id="q@;M{)){]yJ4V(+bGYVe">
  276. <field name="VAR">Q</field>
  277. </block>
  278. </value>
  279. <value name="DELIM">
  280. <shadow type="text" id="+IsLj-^g-Q0:6EZ(;Kg2">
  281. <field name="TEXT"> </field>
  282. </shadow>
  283. </value>
  284. </block>
  285. </value>
  286. <value name="AT">
  287. <block type="math_number" id="ik%KEskVfti162TlEPbu">
  288. <field name="NUM">4</field>
  289. </block>
  290. </value>
  291. </block>
  292. </value>
  293. </block>
  294. </value>
  295. <value name="B">
  296. <block type="text" id="^UG_ZtGvFuhEl[|.?[ps">
  297. <field name="TEXT">/</field>
  298. </block>
  299. </value>
  300. </block>
  301. </value>
  302. <statement name="DO2">
  303. <block type="variables_set" id="BF_[U}C}h7sgi7Tqk0%[">
  304. <field name="VAR">answer</field>
  305. <value name="VALUE">
  306. <block type="math_arithmetic" id="Akmic:|f|M2yz(3q;(8j">
  307. <field name="OP">MULTIPLY</field>
  308. <value name="A">
  309. <shadow type="math_number" id="#y%*AQlwX+1(-W6.r]q~">
  310. <field name="NUM">1</field>
  311. </shadow>
  312. <block type="variables_get" id="V;a1cUFO/]kKcj{.L_*9">
  313. <field name="VAR">x</field>
  314. </block>
  315. </value>
  316. <value name="B">
  317. <shadow type="math_number" id="a`!)p4tt`K{ggZJV!C]h">
  318. <field name="NUM">1</field>
  319. </shadow>
  320. <block type="variables_get" id="^m:;0BTAIZLA08pMQN7@">
  321. <field name="VAR">y</field>
  322. </block>
  323. </value>
  324. </block>
  325. </value>
  326. </block>
  327. </statement>
  328. <value name="IF3">
  329. <block type="logic_compare" id="Mx7l=0OgMQ]NzNeN^}0#">
  330. <field name="OP">EQ</field>
  331. <value name="A">
  332. <block type="parse_number" id="OF@?~bT^2uyq_-xa239Y">
  333. <value name="string">
  334. <block type="lists_getIndex" id="Ta#LWG@VzM6RJ?7t?hmo">
  335. <mutation statement="false" at="true"></mutation>
  336. <field name="MODE">GET</field>
  337. <field name="WHERE">FROM_START</field>
  338. <value name="VALUE">
  339. <block type="lists_split" id="[L4ngag-L;)KNQjdME+!">
  340. <mutation mode="SPLIT"></mutation>
  341. <field name="MODE">SPLIT</field>
  342. <value name="INPUT">
  343. <block type="variables_get" id="eR]S_L^52=FDe=RG)ExO">
  344. <field name="VAR">Q</field>
  345. </block>
  346. </value>
  347. <value name="DELIM">
  348. <shadow type="text" id="Me8xJ%.kA]}N87}?[R|a">
  349. <field name="TEXT"> </field>
  350. </shadow>
  351. </value>
  352. </block>
  353. </value>
  354. <value name="AT">
  355. <block type="math_number" id="lLu`mzp/hk-*{w0Y;zM-">
  356. <field name="NUM">4</field>
  357. </block>
  358. </value>
  359. </block>
  360. </value>
  361. </block>
  362. </value>
  363. <value name="B">
  364. <block type="text" id="jZ%!MVuFB=Hp]Sw!u|fR">
  365. <field name="TEXT">*</field>
  366. </block>
  367. </value>
  368. </block>
  369. </value>
  370. <statement name="DO3">
  371. <block type="variables_set" id="-e%jeWR}3d/5*RiVL:6Y">
  372. <field name="VAR">answer</field>
  373. <value name="VALUE">
  374. <block type="math_arithmetic" id="+)AL9U9+dlXw?QL@+9M+">
  375. <field name="OP">DIVIDE</field>
  376. <value name="A">
  377. <shadow type="math_number" id="8W1PZC^pv57#cf;5|z%z">
  378. <field name="NUM">1</field>
  379. </shadow>
  380. <block type="variables_get" id="zl]k4/vMt)`!71gtTk%%">
  381. <field name="VAR">x</field>
  382. </block>
  383. </value>
  384. <value name="B">
  385. <shadow type="math_number" id="4A0P%8^_;H[ID*.;-s)J">
  386. <field name="NUM">1</field>
  387. </shadow>
  388. <block type="variables_get" id="B%,.@mMjG0xiys]OesW{">
  389. <field name="VAR">y</field>
  390. </block>
  391. </value>
  392. </block>
  393. </value>
  394. </block>
  395. </statement>
  396. <value name="IF4">
  397. <block type="logic_compare" id="0#Z)S_4_:h5IGEM}g{;d">
  398. <field name="OP">EQ</field>
  399. <value name="A">
  400. <block type="parse_number" id="g2tuPX2/Pqg]4U;@|n[N">
  401. <value name="string">
  402. <block type="lists_getIndex" id="_Z;nPc|P-P@u8#VR7.bU">
  403. <mutation statement="false" at="true"></mutation>
  404. <field name="MODE">GET</field>
  405. <field name="WHERE">FROM_START</field>
  406. <value name="VALUE">
  407. <block type="lists_split" id="3efZs*5mVr)xw:TKiq1y">
  408. <mutation mode="SPLIT"></mutation>
  409. <field name="MODE">SPLIT</field>
  410. <value name="INPUT">
  411. <block type="variables_get" id="NgJqC}Ffg-p4ZD9xsZa9">
  412. <field name="VAR">Q</field>
  413. </block>
  414. </value>
  415. <value name="DELIM">
  416. <shadow type="text" id="]2@ryba;nfzNKf`)x;Zx">
  417. <field name="TEXT"> </field>
  418. </shadow>
  419. </value>
  420. </block>
  421. </value>
  422. <value name="AT">
  423. <block type="math_number" id="~zsrrIseiCw?71LkQwVW">
  424. <field name="NUM">4</field>
  425. </block>
  426. </value>
  427. </block>
  428. </value>
  429. </block>
  430. </value>
  431. <value name="B">
  432. <block type="text" id="Pymordfl=y8sH`+,`M@:">
  433. <field name="TEXT">^</field>
  434. </block>
  435. </value>
  436. </block>
  437. </value>
  438. <statement name="DO4">
  439. <block type="variables_set" id="BsfNFL4/7R5wJ]8h~reV">
  440. <field name="VAR">answer</field>
  441. <value name="VALUE">
  442. <block type="math_arithmetic" id="^/vuPLLX~t]?UjrAynWB">
  443. <field name="OP">POWER</field>
  444. <value name="A">
  445. <shadow type="math_number" id=".1GH}r:=p:,;r;`(GLYV">
  446. <field name="NUM">1</field>
  447. </shadow>
  448. <block type="variables_get" id="tF.3K[XC^KJnB8/MuE9A">
  449. <field name="VAR">x</field>
  450. </block>
  451. </value>
  452. <value name="B">
  453. <shadow type="math_number" id="3Si`tQ9n**p1jdVj/X9_">
  454. <field name="NUM">1</field>
  455. </shadow>
  456. <block type="variables_get" id="N|wwk)P:M|~n.vr=Hz[{">
  457. <field name="VAR">y</field>
  458. </block>
  459. </value>
  460. </block>
  461. </value>
  462. </block>
  463. </statement>
  464. <statement name="ELSE">
  465. <block type="variables_set" id="?p@ZeVkXoXo}J-@MR()^">
  466. <field name="VAR">answer</field>
  467. <value name="VALUE">
  468. <block type="math_number" id="S7h|E55(4G(Uh0oTBH!p">
  469. <field name="NUM">0</field>
  470. </block>
  471. </value>
  472. <next>
  473. <block type="send_message" id=",Z7A3Wk#n@J)mE.1vrCU">
  474. <value name="id">
  475. <block type="get_chat_id" id="tgQ3p;Cec-0o(`s^)-CH">
  476. <value name="msg">
  477. <block type="variables_get" id=",om#s:e8xIfaLN{~[BJX">
  478. <field name="VAR">Message</field>
  479. </block>
  480. </value>
  481. </block>
  482. </value>
  483. <value name="message">
  484. <shadow type="text" id=")5Ofg}t]!XWiw3#})Ix3">
  485. <field name="TEXT">wrong</field>
  486. </shadow>
  487. </value>
  488. </block>
  489. </next>
  490. </block>
  491. </statement>
  492. </block>
  493. </next>
  494. </block>
  495. </next>
  496. </block>
  497. </statement>
  498. <value name="RETURN">
  499. <block type="variables_get" id="ZUtwY=z0oj3Rjz^)c+%m">
  500. <field name="VAR">answer</field>
  501. </block>
  502. </value>
  503. </block>
  504. </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement