{"action":"closed","issue":{"url":"https://api.github.com/repos/haxball/haxball-issues/issues/496","repository_url":"https://api.github.com/repos/haxball/haxball-issues","labels_url":"https://api.github.com/repos/haxball/haxball-issues/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/haxball/haxball-issues/issues/496/comments","events_url":"https://api.github.com/repos/haxball/haxball-issues/issues/496/events","html_url":"https://github.com/haxball/haxball-issues/issues/496","id":351490315,"node_id":"MDU6SXNzdWUzNTE0OTAzMTU=","number":496,"title":"3 functions roomOnPlayerChat","user":{"login":"tatqq","id":42463360,"node_id":"MDQ6VXNlcjQyNDYzMzYw","avatar_url":"https://avatars1.githubusercontent.com/u/42463360?v=4","gravatar_id":"","url":"https://api.github.com/users/tatqq","html_url":"https://github.com/tatqq","followers_url":"https://api.github.com/users/tatqq/followers","following_url":"https://api.github.com/users/tatqq/following{/other_user}","gists_url":"https://api.github.com/users/tatqq/gists{/gist_id}","starred_url":"https://api.github.com/users/tatqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatqq/subscriptions","organizations_url":"https://api.github.com/users/tatqq/orgs","repos_url":"https://api.github.com/users/tatqq/repos","events_url":"https://api.github.com/users/tatqq/events{/privacy}","received_events_url":"https://api.github.com/users/tatqq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-17T07:42:10Z","updated_at":"2018-10-22T20:10:49Z","closed_at":"2018-10-22T20:10:49Z","author_association":"NONE","body":"Hello,\r\nI would like the three functions to work, but only the one I will be the last to work (in this case setplayeraadmin).\r\nPlease help me :)\r\n\r\n> room.onPlayerChat = function(player, message) {\r\n>    if (message == \"p\"); {\r\n>    room.pauseGame(\"true\");\r\n>    }\r\n> }\r\n> \r\n> room.onPlayerChat = function(player, message) {\r\n>    if (message == \"up\"); {\r\n>    room.pauseGame(\"false\");\r\n>    }\r\n> }\r\n> room.onPlayerChat = function(player, message) {\r\n>    if (message == \"xxxx\"); {\r\n>    room.setPlayerAdmin(player.id, true);\r\n>    }\r\n> }"}}
{"actor":{"display_login":"basro"}}