1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
%adjacentBricks=findAdjacentBricks(%obj);
where %obj is the id of a brick, and then %adjacentBricks will store a string where each word will be an ID of a brick that is touching the brick %obj. You could cycle through the string like this: for(%i=0;%i<getwordcount(%adjacentBricks);%i++){
%brick=getword(%adjacentBricks,%i);
//%brick is now a brick adjacent to the original brick.
//do what you want to it here.
}