# Variable initialisation file.
# This file is read by wims for new sessions.

# contenu du fichier: initialisation du probleme.

!bound level between integer 0,100 default 30
!bound variation between integer 1,6 default 3
last=!randitem user,server
tmin =!item $variation of 1,1,1,2,2,3
step1=!item $variation of 1,1,2,1,2,3
step2=!item $variation of 1,3,4,4,5,6
min=!randint 1,$tmin
step=!randint $min+$step1,$min+$step2
t=$[min(45,22+2*($step+$min))]
total=!randint 8+2*($step+$min),$t
filled=0
flist=
slist=
this=0
!if $last=user
 object=$total
!else
 object=$[$total-1]
!endif

status=waiting
wims_module_log=$cmd: $total steps, $min-$step. IQ=$level

