{"action":"created","issue":{"url":"https://api.github.com/repos/InWorldz/halcyon/issues/431","repository_url":"https://api.github.com/repos/InWorldz/halcyon","labels_url":"https://api.github.com/repos/InWorldz/halcyon/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/InWorldz/halcyon/issues/431/comments","events_url":"https://api.github.com/repos/InWorldz/halcyon/issues/431/events","html_url":"https://github.com/InWorldz/halcyon/issues/431","id":305637528,"number":431,"title":"New LSL Function: iwCheckProfileFlag","user":{"login":"zauberparacelsus","id":548168,"avatar_url":"https://avatars2.githubusercontent.com/u/548168?v=4","gravatar_id":"","url":"https://api.github.com/users/zauberparacelsus","html_url":"https://github.com/zauberparacelsus","followers_url":"https://api.github.com/users/zauberparacelsus/followers","following_url":"https://api.github.com/users/zauberparacelsus/following{/other_user}","gists_url":"https://api.github.com/users/zauberparacelsus/gists{/gist_id}","starred_url":"https://api.github.com/users/zauberparacelsus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zauberparacelsus/subscriptions","organizations_url":"https://api.github.com/users/zauberparacelsus/orgs","repos_url":"https://api.github.com/users/zauberparacelsus/repos","events_url":"https://api.github.com/users/zauberparacelsus/events{/privacy}","received_events_url":"https://api.github.com/users/zauberparacelsus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-15T16:57:23Z","updated_at":"2018-03-18T02:55:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The following is a proposal for a pair of LSL functions, which is similar in scope to iwIsPlusUser, or llRequestAgentData with DATA_PAYINFO.  These functions would be potentially useful for land/region management scripts, as well as any LSL-based grid management scripts.\r\n\r\nI have chosen to propose this on the halcyon github rather than the InWorldz mantis, due to applications for non-InWorldz grids based on Halcyon.\r\n\r\n`integer iwCheckProfileFlag(key avatar, string flag);`\r\nThe function checks to see if the specified avatar's profile flags contains the specified flag, and then returns TRUE if it does, or FALSE if not.  In this context, a \"profile flag\" includes things such as \"Resident\", \"Cornerstone\", \"InWorldz Employee\", \"Payment Info On File\" etc.  If a grid is using any custom flags such as \"Grid Monkey\", \"Mentor\", or such, the function would be able to check for those as well.\r\n\r\n`integer iwCheckProfileFlagList(key avatar, list flags, integer option);`\r\nThis function is an alternative version that checks multiple flags at once, provided as a list of strings.  If the integer option is 0, then it will return TRUE if at least one of the specified flags is present.  If option is 1, then it will return TRUE only if all of the specified flags are present.  If option is 2, it will return the total number of flags that are present.\r\n"},"comment":{"url":"https://api.github.com/repos/InWorldz/halcyon/issues/comments/373969048","html_url":"https://github.com/InWorldz/halcyon/issues/431#issuecomment-373969048","issue_url":"https://api.github.com/repos/InWorldz/halcyon/issues/431","id":373969048,"user":{"login":"appurist","id":1620487,"avatar_url":"https://avatars0.githubusercontent.com/u/1620487?v=4","gravatar_id":"","url":"https://api.github.com/users/appurist","html_url":"https://github.com/appurist","followers_url":"https://api.github.com/users/appurist/followers","following_url":"https://api.github.com/users/appurist/following{/other_user}","gists_url":"https://api.github.com/users/appurist/gists{/gist_id}","starred_url":"https://api.github.com/users/appurist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appurist/subscriptions","organizations_url":"https://api.github.com/users/appurist/orgs","repos_url":"https://api.github.com/users/appurist/repos","events_url":"https://api.github.com/users/appurist/events{/privacy}","received_events_url":"https://api.github.com/users/appurist/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T02:55:27Z","updated_at":"2018-03-18T02:55:27Z","author_association":"OWNER","body":"Yeah I realized I had misread your previous reply. Have you seen my edit?\r\n\r\nAs I said earlier, that text is already available via `DATA_ACCOUNT_TYPE`."}}
{"actor":{"display_login":"appurist"}}