{"action":"created","comment":{"url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/comments/24947030","id":24947030,"diff_hunk":"@@ -29,12 +35,22 @@ function OnStartup()\n \t\t\t\tsDescription = \"Chatroom for usage by VIPs.\",\n \t\t\t\tsEmail = \"donot@mail.me\"\n \t\t\t},\n-\t\t\tsFileName = \"VIPChat.txt\"\n-\t\t}\n+\t\t\tsFileName = \"VIPChat.txt\",\n+\t\t\ttChatHistory = {},\n+\t\t\ttUsers = {},\n+\t\t},\n \t}\n-\tfor sIndex, sValue in pairs(tChatRooms) do\n-\t\tCore.RegBot( sIndex, sValue.BOT.sDescription, sValue.BOT.sEmail, true )\n+\tfor sIndex, tValue in pairs( tChatRooms ) do\n+\t\tCore.RegBot( sIndex, tValue.BOT.sDescription, tValue.BOT.sEmail, true )\n \tend\n+\tdofile( sPath..sExtPath..\"offliner.lua\" )","path":"chatrooms.lua","position":43,"original_position":43,"commit_id":"57aa244dee8020cd98d09c78ad8c598595e0902d","original_commit_id":"57aa244dee8020cd98d09c78ad8c598595e0902d","user":{"login":"hjpotter92","id":3393533,"avatar_url":"https://avatars.githubusercontent.com/u/3393533?v=3","gravatar_id":"","url":"https://api.github.com/users/hjpotter92","html_url":"https://github.com/hjpotter92","followers_url":"https://api.github.com/users/hjpotter92/followers","following_url":"https://api.github.com/users/hjpotter92/following{/other_user}","gists_url":"https://api.github.com/users/hjpotter92/gists{/gist_id}","starred_url":"https://api.github.com/users/hjpotter92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjpotter92/subscriptions","organizations_url":"https://api.github.com/users/hjpotter92/orgs","repos_url":"https://api.github.com/users/hjpotter92/repos","events_url":"https://api.github.com/users/hjpotter92/events{/privacy}","received_events_url":"https://api.github.com/users/hjpotter92/received_events","type":"User","site_admin":false},"body":"You do not need to include `offliner.lua` file at all. You can see from line 19/23 (left/right in diff); that we are forwarding messages to everyone with profile no. `0` to `4`.","created_at":"2015-02-18T22:23:56Z","updated_at":"2015-02-18T22:23:56Z","html_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15#discussion_r24947030","pull_request_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/comments/24947030"},"html":{"href":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15#discussion_r24947030"},"pull_request":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15","id":28875667,"html_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15","diff_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15.diff","patch_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15.patch","issue_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/15","number":15,"state":"open","locked":false,"title":"Add chat history and correspond changes with PR #14","user":{"login":"nishithshah2211","id":8149831,"avatar_url":"https://avatars.githubusercontent.com/u/8149831?v=3","gravatar_id":"","url":"https://api.github.com/users/nishithshah2211","html_url":"https://github.com/nishithshah2211","followers_url":"https://api.github.com/users/nishithshah2211/followers","following_url":"https://api.github.com/users/nishithshah2211/following{/other_user}","gists_url":"https://api.github.com/users/nishithshah2211/gists{/gist_id}","starred_url":"https://api.github.com/users/nishithshah2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishithshah2211/subscriptions","organizations_url":"https://api.github.com/users/nishithshah2211/orgs","repos_url":"https://api.github.com/users/nishithshah2211/repos","events_url":"https://api.github.com/users/nishithshah2211/events{/privacy}","received_events_url":"https://api.github.com/users/nishithshah2211/received_events","type":"User","site_admin":false},"body":"Added chat history for chatrooms. We can merge this now I guess; will add `+list` and some other changes a bit later.","created_at":"2015-02-08T05:04:20Z","updated_at":"2015-02-18T22:23:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e375eb9b4940d1ff23c43d58ed69e2a55ef14daf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15/commits","review_comments_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15/comments","review_comment_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/comments/{number}","comments_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/15/comments","statuses_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/statuses/57aa244dee8020cd98d09c78ad8c598595e0902d","head":{"label":"nishithshah2211:chathistory","ref":"chathistory","sha":"57aa244dee8020cd98d09c78ad8c598595e0902d","user":{"login":"nishithshah2211","id":8149831,"avatar_url":"https://avatars.githubusercontent.com/u/8149831?v=3","gravatar_id":"","url":"https://api.github.com/users/nishithshah2211","html_url":"https://github.com/nishithshah2211","followers_url":"https://api.github.com/users/nishithshah2211/followers","following_url":"https://api.github.com/users/nishithshah2211/following{/other_user}","gists_url":"https://api.github.com/users/nishithshah2211/gists{/gist_id}","starred_url":"https://api.github.com/users/nishithshah2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishithshah2211/subscriptions","organizations_url":"https://api.github.com/users/nishithshah2211/orgs","repos_url":"https://api.github.com/users/nishithshah2211/repos","events_url":"https://api.github.com/users/nishithshah2211/events{/privacy}","received_events_url":"https://api.github.com/users/nishithshah2211/received_events","type":"User","site_admin":false},"repo":{"id":26690755,"name":"ptokax-scripts","full_name":"nishithshah2211/ptokax-scripts","owner":{"login":"nishithshah2211","id":8149831,"avatar_url":"https://avatars.githubusercontent.com/u/8149831?v=3","gravatar_id":"","url":"https://api.github.com/users/nishithshah2211","html_url":"https://github.com/nishithshah2211","followers_url":"https://api.github.com/users/nishithshah2211/followers","following_url":"https://api.github.com/users/nishithshah2211/following{/other_user}","gists_url":"https://api.github.com/users/nishithshah2211/gists{/gist_id}","starred_url":"https://api.github.com/users/nishithshah2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishithshah2211/subscriptions","organizations_url":"https://api.github.com/users/nishithshah2211/orgs","repos_url":"https://api.github.com/users/nishithshah2211/repos","events_url":"https://api.github.com/users/nishithshah2211/events{/privacy}","received_events_url":"https://api.github.com/users/nishithshah2211/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nishithshah2211/ptokax-scripts","description":"PtokaX scripts written for HiT Hi FiT Hai","fork":true,"url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts","forks_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/forks","keys_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/teams","hooks_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/hooks","issue_events_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/events","assignees_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/tags","blobs_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/languages","stargazers_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/stargazers","contributors_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/contributors","subscribers_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/subscribers","subscription_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/subscription","commits_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/issues/comments/{number}","contents_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/merges","archive_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/downloads","issues_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/labels{/name}","releases_url":"https://api.github.com/repos/nishithshah2211/ptokax-scripts/releases{/id}","created_at":"2014-11-15T19:18:14Z","updated_at":"2014-11-30T05:51:32Z","pushed_at":"2015-02-18T18:41:14Z","git_url":"git://github.com/nishithshah2211/ptokax-scripts.git","ssh_url":"git@github.com:nishithshah2211/ptokax-scripts.git","clone_url":"https://github.com/nishithshah2211/ptokax-scripts.git","svn_url":"https://github.com/nishithshah2211/ptokax-scripts","homepage":"http://hit-hi-fit-hai.github.io/ptokax-scripts/","size":641,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HiT-Hi-FiT-Hai:master","ref":"master","sha":"8405ff31751ff92ae66d8893f38b5fcad6c99924","user":{"login":"HiT-Hi-FiT-Hai","id":4383182,"avatar_url":"https://avatars.githubusercontent.com/u/4383182?v=3","gravatar_id":"","url":"https://api.github.com/users/HiT-Hi-FiT-Hai","html_url":"https://github.com/HiT-Hi-FiT-Hai","followers_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/followers","following_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/following{/other_user}","gists_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/gists{/gist_id}","starred_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/subscriptions","organizations_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/orgs","repos_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/repos","events_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/events{/privacy}","received_events_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/received_events","type":"Organization","site_admin":false},"repo":{"id":17719789,"name":"ptokax-scripts","full_name":"HiT-Hi-FiT-Hai/ptokax-scripts","owner":{"login":"HiT-Hi-FiT-Hai","id":4383182,"avatar_url":"https://avatars.githubusercontent.com/u/4383182?v=3","gravatar_id":"","url":"https://api.github.com/users/HiT-Hi-FiT-Hai","html_url":"https://github.com/HiT-Hi-FiT-Hai","followers_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/followers","following_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/following{/other_user}","gists_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/gists{/gist_id}","starred_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/subscriptions","organizations_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/orgs","repos_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/repos","events_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/events{/privacy}","received_events_url":"https://api.github.com/users/HiT-Hi-FiT-Hai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts","description":"PtokaX scripts written for HiT Hi FiT Hai","fork":true,"url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts","forks_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/forks","keys_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/teams","hooks_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/hooks","issue_events_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/events","assignees_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/tags","blobs_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/languages","stargazers_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/stargazers","contributors_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/contributors","subscribers_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/subscribers","subscription_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/subscription","commits_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/comments/{number}","contents_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/merges","archive_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/downloads","issues_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/labels{/name}","releases_url":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/releases{/id}","created_at":"2014-03-13T17:31:16Z","updated_at":"2015-01-21T12:46:05Z","pushed_at":"2015-01-22T10:10:20Z","git_url":"git://github.com/HiT-Hi-FiT-Hai/ptokax-scripts.git","ssh_url":"git@github.com:HiT-Hi-FiT-Hai/ptokax-scripts.git","clone_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts.git","svn_url":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts","homepage":"http://hit-hi-fit-hai.github.io/ptokax-scripts/","size":801,"stargazers_count":4,"watchers_count":4,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15"},"html":{"href":"https://github.com/HiT-Hi-FiT-Hai/ptokax-scripts/pull/15"},"issue":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/15"},"comments":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/HiT-Hi-FiT-Hai/ptokax-scripts/statuses/57aa244dee8020cd98d09c78ad8c598595e0902d"}}}}