{"action":"created","issue":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1884","repository_url":"https://api.github.com/repos/letscontrolit/ESPEasy","labels_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1884/labels{/name}","comments_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1884/comments","events_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1884/events","html_url":"https://github.com/letscontrolit/ESPEasy/pull/1884","id":368860099,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTM3MjY0","number":1884,"title":"added Global Variables for rules","user":{"login":"giig1967g","id":21318099,"node_id":"MDQ6VXNlcjIxMzE4MDk5","avatar_url":"https://avatars3.githubusercontent.com/u/21318099?v=4","gravatar_id":"","url":"https://api.github.com/users/giig1967g","html_url":"https://github.com/giig1967g","followers_url":"https://api.github.com/users/giig1967g/followers","following_url":"https://api.github.com/users/giig1967g/following{/other_user}","gists_url":"https://api.github.com/users/giig1967g/gists{/gist_id}","starred_url":"https://api.github.com/users/giig1967g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giig1967g/subscriptions","organizations_url":"https://api.github.com/users/giig1967g/orgs","repos_url":"https://api.github.com/users/giig1967g/repos","events_url":"https://api.github.com/users/giig1967g/events{/privacy}","received_events_url":"https://api.github.com/users/giig1967g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-10T21:21:27Z","updated_at":"2018-10-11T10:19:40Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/pulls/1884","html_url":"https://github.com/letscontrolit/ESPEasy/pull/1884","diff_url":"https://github.com/letscontrolit/ESPEasy/pull/1884.diff","patch_url":"https://github.com/letscontrolit/ESPEasy/pull/1884.patch"},"body":"Added a new RULES command:\r\n`customvar,x,y`\r\n\r\nthat stores in a system variable %customvarx% the value 'y'.\r\nValues are float. x can be 1 to 16.\r\n\r\nExample:\r\n```\r\non event do\r\n  customvar,1,10\r\nendon\r\n\r\non event2 do\r\n  if %customvar1%=10 do\r\n  //code\r\n  endif\r\nendon\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/comments/428902159","html_url":"https://github.com/letscontrolit/ESPEasy/pull/1884#issuecomment-428902159","issue_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1884","id":428902159,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODkwMjE1OQ==","user":{"login":"giig1967g","id":21318099,"node_id":"MDQ6VXNlcjIxMzE4MDk5","avatar_url":"https://avatars3.githubusercontent.com/u/21318099?v=4","gravatar_id":"","url":"https://api.github.com/users/giig1967g","html_url":"https://github.com/giig1967g","followers_url":"https://api.github.com/users/giig1967g/followers","following_url":"https://api.github.com/users/giig1967g/following{/other_user}","gists_url":"https://api.github.com/users/giig1967g/gists{/gist_id}","starred_url":"https://api.github.com/users/giig1967g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giig1967g/subscriptions","organizations_url":"https://api.github.com/users/giig1967g/orgs","repos_url":"https://api.github.com/users/giig1967g/repos","events_url":"https://api.github.com/users/giig1967g/events{/privacy}","received_events_url":"https://api.github.com/users/giig1967g/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T10:19:40Z","updated_at":"2018-10-11T10:19:40Z","author_association":"CONTRIBUTOR","body":"so, will change to: %var_x% ?\r\nAnd command 'let' ?"}}
{"actor":{"display_login":"giig1967g"}}