if dd<10 then sourcerect="0,0,20,30"
ONWhatever="image.Sourcerect=(ddCheck ? 0,0,10,10 : 0,0,20,20) ddCheck=dd<10"
if dd<20 && dd>10 then sourcerect="20,0,40,30"
OnWhatever="Image.Sourcerect=(ddCheck ? 0,0,10,10 : 0,0,20,20) ddCheck=(dd1 && dd2) dd1=dd<20 dd2=dd>10"
Keep in mind that eq2 executes script top to bottom, right to left. I didnt' test this but it should work.
|