{"action":"created","issue":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338","repository_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338/comments","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338/events","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338","id":167199162,"number":1338,"title":"Broadcasting to (my [clones]) seems to broadcast to the original sprite","user":{"login":"stirlingstout","id":2162695,"avatar_url":"https://avatars.githubusercontent.com/u/2162695?v=3","gravatar_id":"","url":"https://api.github.com/users/stirlingstout","html_url":"https://github.com/stirlingstout","followers_url":"https://api.github.com/users/stirlingstout/followers","following_url":"https://api.github.com/users/stirlingstout/following{/other_user}","gists_url":"https://api.github.com/users/stirlingstout/gists{/gist_id}","starred_url":"https://api.github.com/users/stirlingstout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stirlingstout/subscriptions","organizations_url":"https://api.github.com/users/stirlingstout/orgs","repos_url":"https://api.github.com/users/stirlingstout/repos","events_url":"https://api.github.com/users/stirlingstout/events{/privacy}","received_events_url":"https://api.github.com/users/stirlingstout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-23T19:22:28Z","updated_at":"2016-07-23T19:56:57Z","closed_at":null,"body":"I'm using the [broadcast (list \"Message name\" (receivers)] to restrict my broadcast to certain sprites, and I'm setting (receivers) to (my clones) so only my clones should get the message.\r\n[This project has my blocks in it.](http://snap.berkeley.edu/snapsource/snap.html#present:Username=cusp&ProjectName=CloneProblem) \r\n\r\nBroadcast the Delete yourself message first of all to delete any clones of the 1 sprite, then the repeat 2 block to create 2 clones of the 1 (they will be smaller), and finally the [broadcast (list \"Do something\" (my clones))]: all three sprites (1 original, 2 clones) respond.\r\n\r\nIt seems to me that broadcasting to (my clones) means the original sprite that's been cloned is included in the list, even though evaluating (my clones) in the above problem only shows 2 sprites: tiis not what I'd expect.\r\n\r\nIf I wrap what I want the clones to do in an [if <> []] statement, and make the test ((item 2 of (message)) contains (my self)) then only the two clones do anything"},"comment":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments/234736997","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338#issuecomment-234736997","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1338","id":234736997,"user":{"login":"stirlingstout","id":2162695,"avatar_url":"https://avatars.githubusercontent.com/u/2162695?v=3","gravatar_id":"","url":"https://api.github.com/users/stirlingstout","html_url":"https://github.com/stirlingstout","followers_url":"https://api.github.com/users/stirlingstout/followers","following_url":"https://api.github.com/users/stirlingstout/following{/other_user}","gists_url":"https://api.github.com/users/stirlingstout/gists{/gist_id}","starred_url":"https://api.github.com/users/stirlingstout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stirlingstout/subscriptions","organizations_url":"https://api.github.com/users/stirlingstout/orgs","repos_url":"https://api.github.com/users/stirlingstout/repos","events_url":"https://api.github.com/users/stirlingstout/events{/privacy}","received_events_url":"https://api.github.com/users/stirlingstout/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T19:56:57Z","updated_at":"2016-07-23T19:56:57Z","body":"Sirry, I don't know what you mean."}}
{"actor":{"display_login":"stirlingstout"}}