{"action":"opened","issue":{"url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/945","repository_url":"https://api.github.com/repos/Masuzu/ZooeyBot","labels_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/945/comments","events_url":"https://api.github.com/repos/Masuzu/ZooeyBot/issues/945/events","html_url":"https://github.com/Masuzu/ZooeyBot/issues/945","id":365462757,"node_id":"MDU6SXNzdWUzNjU0NjI3NTc=","number":945,"title":"party selection did not work as intended","user":{"login":"giauten","id":43314003,"node_id":"MDQ6VXNlcjQzMzE0MDAz","avatar_url":"https://avatars0.githubusercontent.com/u/43314003?v=4","gravatar_id":"","url":"https://api.github.com/users/giauten","html_url":"https://github.com/giauten","followers_url":"https://api.github.com/users/giauten/followers","following_url":"https://api.github.com/users/giauten/following{/other_user}","gists_url":"https://api.github.com/users/giauten/gists{/gist_id}","starred_url":"https://api.github.com/users/giauten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giauten/subscriptions","organizations_url":"https://api.github.com/users/giauten/orgs","repos_url":"https://api.github.com/users/giauten/repos","events_url":"https://api.github.com/users/giauten/events{/privacy}","received_events_url":"https://api.github.com/users/giauten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T13:31:02Z","updated_at":"2018-10-01T13:31:02Z","closed_at":null,"author_association":"NONE","body":"Hi, I was trying to use party selection with different command, but none work as intended, i've used:\r\n```\r\nif selected_summon == \"celeste omega\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(1)\r\nelse\r\n\tif selected_summon == \"hades\" then\r\n\t\tSetPreferredPartyGroup(4)\r\n\t\tSetPreferredPartyDeck(1)\r\n\telse\r\n\t\tif selected_summon == \"grimnir\" then\r\n\t\t\tSetPreferredPartyGroup(4)\r\n\t\t\tSetPreferredPartyDeck(3)\r\n\t\telse\r\n\t\t\tif selected_summon == \"tiamat omega\" then\r\n\t\t\t\tSetPreferredPartyGroup(4)\r\n\t\t\t\tSetPreferredPartyDeck(3)\r\n\t\t\telse\r\n\t\t\t\tif selected_summon == \"bahamut\" then\r\n\t\t\t\t\tSetPreferredPartyGroup(4)\r\n\t\t\t\t\tSetPreferredPartyDeck(2)\r\n\t\t\t\tend\r\n\t\t\tend\r\n\t\tend\r\n\tend\r\nend\r\n````\r\n````\r\nif selected_summon == \"celeste omega\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(1)\r\nend\r\nif selected_summon == \"hades\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(1)\r\nend\r\nif selected_summon == \"grimnir\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(3)\r\nend\r\nif selected_summon == \"tiamat omega\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(3)\r\nend\r\nif selected_summon == \"bahamut\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(2)\r\nend\r\n````\r\n````\r\nif selected_summon == \"bahamut\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(2)\r\nelse if selected_summon == \"celeste omega\" or selected_summon == \"hades\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(1)\r\n\telse\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(3)\r\n\tend\r\nend\r\n````\r\nIt only work with the \"else\" part, which is will select the group 4 and deck 3\r\nBack then I was used like this\r\n````\r\nif selected_summon == \"bahamut\" then\r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(2)\r\nelse \r\n\tSetPreferredPartyGroup(4)\r\n\tSetPreferredPartyDeck(1)\r\n````\r\nand it was work.\r\nSo is zooey only support 1 command of if-else?\r\n"}}
{"actor":{"display_login":"giauten"}}