{"id":9586,"date":"2021-12-02T11:25:44","date_gmt":"2021-12-02T11:25:44","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=9586"},"modified":"2021-12-02T11:28:19","modified_gmt":"2021-12-02T11:28:19","slug":"using-skills-in-a-batch-rpg-game","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/using-skills-in-a-batch-rpg-game\/29154.html","title":{"rendered":"Using Skills In A Batch Rpg Game"},"content":{"rendered":"<p>OK for some reason this code will not even work:<\/p>\n<p>:prace<br \/>\ncls<br \/>\necho Choose a race.<br \/>\necho.<br \/>\necho h)Human<br \/>\necho e)Elf<br \/>\necho o)Orc<br \/>\nset \/p race=:<br \/>\nif %race% equ h set \/a %str% equ 12<br \/>\nif %race% equ e set \/a %wis% equ 13<br \/>\nif %race% equ o set \/a %con% equ 14<br \/>\nif not %race% equ h goto prace<br \/>\nif not %race% equ e goto prace<br \/>\nif not %race% equ o goto prace<\/p>\n<p>it needs to set str (strength) to 12 when you type h and hit enter<br \/>\ni have allredy set all of the skills to 0 at the start of the batch file.<br \/>\nbut when i open it, it flashes &#8220;Missing opperator&#8221; at the bottom what do i do?<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":1},"question-category":[55],"question_tags":[],"class_list":["post-9586","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/9586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=9586"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=9586"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=9586"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=9586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}