Hello World Code Snippet

hello-world.png
to gbcc-on-enter [ user-id role ]
  show (word "Hello world. User " user-id " entered.")
end

Share Global Variables

to share
  gbcc:broadcast-plot "populations"
  gbcc:store-globals
end
to gbcc-on-select [ user-id role ]
  gbcc:restore-globals-from-user user-id
end

Model with Sample Code: Wolf Sheep