on *:dialog:backg:*:*: {
if ($devent == init) {
did -a $dname 4 %mybg
var %images = 1
var %count = $findfile($mircdirsystem\images\backgrounds\,*.jpg,0,1,)
while (%images <= %count) {
did -a $dname 5 $nopath($mircdirsystem\images\backgrounds\ bla. $+ %images )
inc %images
}
}
}