{"action":"created","issue":{"url":"https://api.github.com/repos/aichaos/rivescript-js/issues/107","repository_url":"https://api.github.com/repos/aichaos/rivescript-js","labels_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/107/comments","events_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/107/events","html_url":"https://github.com/aichaos/rivescript-js/issues/107","id":152019380,"number":107,"title":"Accessing current trigger/topic or calling object macro in conditional","user":{"login":"davidchriqui","id":8365044,"avatar_url":"https://avatars.githubusercontent.com/u/8365044?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchriqui","html_url":"https://github.com/davidchriqui","followers_url":"https://api.github.com/users/davidchriqui/followers","following_url":"https://api.github.com/users/davidchriqui/following{/other_user}","gists_url":"https://api.github.com/users/davidchriqui/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchriqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchriqui/subscriptions","organizations_url":"https://api.github.com/users/davidchriqui/orgs","repos_url":"https://api.github.com/users/davidchriqui/repos","events_url":"https://api.github.com/users/davidchriqui/events{/privacy}","received_events_url":"https://api.github.com/users/davidchriqui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-30T09:10:09Z","updated_at":"2016-05-02T14:06:32Z","closed_at":null,"body":"Is there a way to access current trigger and current topic values in a conditional test ?\r\nWhat about calling an object macros in a conditional?"},"comment":{"url":"https://api.github.com/repos/aichaos/rivescript-js/issues/comments/216244812","html_url":"https://github.com/aichaos/rivescript-js/issues/107#issuecomment-216244812","issue_url":"https://api.github.com/repos/aichaos/rivescript-js/issues/107","id":216244812,"user":{"login":"davidchriqui","id":8365044,"avatar_url":"https://avatars.githubusercontent.com/u/8365044?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchriqui","html_url":"https://github.com/davidchriqui","followers_url":"https://api.github.com/users/davidchriqui/followers","following_url":"https://api.github.com/users/davidchriqui/following{/other_user}","gists_url":"https://api.github.com/users/davidchriqui/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchriqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchriqui/subscriptions","organizations_url":"https://api.github.com/users/davidchriqui/orgs","repos_url":"https://api.github.com/users/davidchriqui/repos","events_url":"https://api.github.com/users/davidchriqui/events{/privacy}","received_events_url":"https://api.github.com/users/davidchriqui/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T14:06:31Z","updated_at":"2016-05-02T14:06:31Z","body":"Is it there a way to perform the following :\r\n\r\n```\r\n+ *\r\n* <call>checkMacro <star> == true => blablabla\r\n* <call>checkMacro <star> == false => blablablablabla\r\n```"}}