{"action":"created","issue":{"url":"https://api.github.com/repos/gsand/mark2/issues/15","labels_url":"https://api.github.com/repos/gsand/mark2/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/gsand/mark2/issues/15/comments","events_url":"https://api.github.com/repos/gsand/mark2/issues/15/events","html_url":"https://github.com/gsand/mark2/issues/15","id":60721580,"number":15,"title":"Use event contents in response","user":{"login":"33mhz","id":1181047,"avatar_url":"https://avatars.githubusercontent.com/u/1181047?v=3","gravatar_id":"","url":"https://api.github.com/users/33mhz","html_url":"https://github.com/33mhz","followers_url":"https://api.github.com/users/33mhz/followers","following_url":"https://api.github.com/users/33mhz/following{/other_user}","gists_url":"https://api.github.com/users/33mhz/gists{/gist_id}","starred_url":"https://api.github.com/users/33mhz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/33mhz/subscriptions","organizations_url":"https://api.github.com/users/33mhz/orgs","repos_url":"https://api.github.com/users/33mhz/repos","events_url":"https://api.github.com/users/33mhz/events{/privacy}","received_events_url":"https://api.github.com/users/33mhz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T20:12:40Z","updated_at":"2015-03-12T02:24:29Z","closed_at":null,"body":"If there's a way to do this already, let me know.\r\n\r\nI would love a way to use the trigger itself in the response to a trigger. For example, set a trigger for @PlayerChat that includes the chat itself in its response. AFAIK, I have to parse the log file to get the chat message.\r\n\r\n`@PlayerChat $[do something with] ~PlayerChat`\r\n\r\nLikewise, I'd like to be able to tell who triggered a PlayerDeath, a Join or Leave, etc."},"comment":{"url":"https://api.github.com/repos/gsand/mark2/issues/comments/78412799","html_url":"https://github.com/gsand/mark2/issues/15#issuecomment-78412799","issue_url":"https://api.github.com/repos/gsand/mark2/issues/15","id":78412799,"user":{"login":"33mhz","id":1181047,"avatar_url":"https://avatars.githubusercontent.com/u/1181047?v=3","gravatar_id":"","url":"https://api.github.com/users/33mhz","html_url":"https://github.com/33mhz","followers_url":"https://api.github.com/users/33mhz/followers","following_url":"https://api.github.com/users/33mhz/following{/other_user}","gists_url":"https://api.github.com/users/33mhz/gists{/gist_id}","starred_url":"https://api.github.com/users/33mhz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/33mhz/subscriptions","organizations_url":"https://api.github.com/users/33mhz/orgs","repos_url":"https://api.github.com/users/33mhz/repos","events_url":"https://api.github.com/users/33mhz/events{/privacy}","received_events_url":"https://api.github.com/users/33mhz/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T02:24:29Z","updated_at":"2015-03-12T02:24:29Z","body":"@gsand In scripts.txt, I'd like to execute a shell script using @PlayerChat, and pass the name of the player who spoke and what they said to the script.\r\nA line in scripts.txt like:\r\n\r\n`@PlayerChat $script.sh player player_msg`\r\n\r\nBasically if mark2 would pass me the material it's already parsing, to use in the external scripts. So I can know not just *that* a player chatted, or *that* a player died, but what they said and *who* died."}}