You would also have to add the distributionobjectsdensity and scatteredObjectsFrequency properties. These arrays are initially empty as well. So your code would look like this:
ScatteredObj= sphere radius: 1 position:[0,0,0] --ScatteredObj
b = plane length: 100 width:100 pos: [150,150,0] --distrib object
--SCATTER CREATION
Cscatter isselected: on iconsize: 50 pos: ScatteredObj.pos
--APPENDING
append $.distributionobjects b
append $.distributionobjectsdensity 1.0
append $.scatteredobjects ScatteredObj
append $.scatteredObjectsFrequency 1.0
max zoomext sel -- zooms scatter
Good Luck