{"action":"created","issue":{"url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/355","labels_url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/355/comments","events_url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/355/events","html_url":"https://github.com/MN-Script-Team/DHS-MAXIS-Scripts/issues/355","id":55421094,"number":355,"title":"Idea: can you create a dynamic list of buttons with an array?","user":{"login":"theVKC","id":5701751,"avatar_url":"https://avatars.githubusercontent.com/u/5701751?v=3","gravatar_id":"","url":"https://api.github.com/users/theVKC","html_url":"https://github.com/theVKC","followers_url":"https://api.github.com/users/theVKC/followers","following_url":"https://api.github.com/users/theVKC/following{/other_user}","gists_url":"https://api.github.com/users/theVKC/gists{/gist_id}","starred_url":"https://api.github.com/users/theVKC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theVKC/subscriptions","organizations_url":"https://api.github.com/users/theVKC/orgs","repos_url":"https://api.github.com/users/theVKC/repos","events_url":"https://api.github.com/users/theVKC/events{/privacy}","received_events_url":"https://api.github.com/users/theVKC/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/labels/experimental","name":"experimental","color":"000000"}],"state":"open","locked":false,"assignee":{"login":"theVKC","id":5701751,"avatar_url":"https://avatars.githubusercontent.com/u/5701751?v=3","gravatar_id":"","url":"https://api.github.com/users/theVKC","html_url":"https://github.com/theVKC","followers_url":"https://api.github.com/users/theVKC/followers","following_url":"https://api.github.com/users/theVKC/following{/other_user}","gists_url":"https://api.github.com/users/theVKC/gists{/gist_id}","starred_url":"https://api.github.com/users/theVKC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theVKC/subscriptions","organizations_url":"https://api.github.com/users/theVKC/orgs","repos_url":"https://api.github.com/users/theVKC/repos","events_url":"https://api.github.com/users/theVKC/events{/privacy}","received_events_url":"https://api.github.com/users/theVKC/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-25T16:39:29Z","updated_at":"2015-01-25T18:03:52Z","closed_at":null,"body":"I'm wondering if a dialog can use a for...next to build a variable amount of buttons. This could be used for the agency custom script, among many other uses. Something like if buttonpressed = array(3) then do something."},"comment":{"url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/comments/71383665","html_url":"https://github.com/MN-Script-Team/DHS-MAXIS-Scripts/issues/355#issuecomment-71383665","issue_url":"https://api.github.com/repos/MN-Script-Team/DHS-MAXIS-Scripts/issues/355","id":71383665,"user":{"login":"lpshanley","id":8583547,"avatar_url":"https://avatars.githubusercontent.com/u/8583547?v=3","gravatar_id":"","url":"https://api.github.com/users/lpshanley","html_url":"https://github.com/lpshanley","followers_url":"https://api.github.com/users/lpshanley/followers","following_url":"https://api.github.com/users/lpshanley/following{/other_user}","gists_url":"https://api.github.com/users/lpshanley/gists{/gist_id}","starred_url":"https://api.github.com/users/lpshanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpshanley/subscriptions","organizations_url":"https://api.github.com/users/lpshanley/orgs","repos_url":"https://api.github.com/users/lpshanley/repos","events_url":"https://api.github.com/users/lpshanley/events{/privacy}","received_events_url":"https://api.github.com/users/lpshanley/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T18:03:52Z","updated_at":"2015-01-25T18:03:52Z","body":"Yes and No. My agency custom script already uses this. Would you like me to pull the raw code out so it can be added elsewhere?"}}