command line arguments are automatically added by windows from within the screensaver control panel!
example:
if cl$()="" or left$(cl$(),2)="/s"
sync on : autocam off : color backdrop 0 : hide mouse
ink rgb(255,255,255),0
make object cube 1,75
color object 1,rgb(255,0,0)
make object sphere 2,10
color object 2,rgb(0,0,255)
position camera 0,0,-200
do
if mouseclick() > 0 or scancode() > 0 or mousemovex() <> 0 or mousemovey() <> 0 or mousemovez() <> 0 then exit
xrotate object 1,wrapvalue(object angle x(1)-0.1)
yrotate object 1,wrapvalue(object angle y(1)+0.1)
a#=wrapvalue(a#+0.5)
position object 2,newxvalue(0,a#,75),0,newzvalue(0,a#,75)
sync
loop
else
if left$(cl$(),2)="/c"
ink rgb(255,255,255),0
print "There is nothing to configure for this screensaver"
print "press any key to exit"
wait key
endif
endif
Gronda, Gronda