{"id":2205,"date":"2013-11-25T21:39:43","date_gmt":"2013-11-25T21:39:43","guid":{"rendered":"http:\/\/himeworks.wordpress.com\/?p=2205"},"modified":"2014-05-08T09:03:55","modified_gmt":"2014-05-08T14:03:55","slug":"convert-code-eval","status":"publish","type":"post","link":"https:\/\/himeworks.com\/2013\/11\/convert-code-eval\/","title":{"rendered":"Convert Code: Eval"},"content":{"rendered":"<p><a href=\"http:\/\/himeworks.files.wordpress.com\/2013\/11\/convertcode_eval.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2206\" src=\"http:\/\/himeworks.files.wordpress.com\/2013\/11\/convertcode_eval.jpg\" alt=\"convertCode_eval\" width=\"539\" height=\"410\" \/><\/a><\/p>\n<p>This script adds a new convert code to your project called &#8220;eval&#8221;.\u00a0You can use this to evaluate arbitrary formulas inside your show text\u00a0commands.<\/p>\n<p><!--more--><strong>Download<\/strong><\/p>\n<p>Script: <a title=\"script download\" href=\"http:\/\/himeworks.com\/redirect.php?type=script&amp;name=convert_code_eval\" target=\"_blank\">download here<\/a><\/p>\n<p><strong>Installation<\/strong><\/p>\n<p>Place this script below Materials and above Main<\/p>\n<p><span style=\"color: #000000;\"><b>Usage<\/b><\/span><\/p>\n<p>In your show text command, use the convert code<\/p>\n<pre>eval&lt;{FORMULA}&gt;<\/pre>\n<p>The formula will be evaluated when the message is being processed and the<br \/>\nappropriate value will be displayed.<\/p>\n<p>The following formula variables are available<\/p>\n<pre>p - game party\nt - game troop\ns - game switches\nv - game variables<\/pre>\n<p>Note that the text is not automatically re-positioned to fill in the gaps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This script adds a new convert code to your project called &#8220;eval&#8221;.\u00a0You can use this to evaluate arbitrary formulas inside your show text\u00a0commands.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":""},"categories":[21,4,5],"tags":[],"_links":{"self":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2205"}],"collection":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/comments?post=2205"}],"version-history":[{"count":0,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/posts\/2205\/revisions"}],"wp:attachment":[{"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/media?parent=2205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/categories?post=2205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himeworks.com\/wp-json\/wp\/v2\/tags?post=2205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}