in code, it'd look like this:
<asl version="550">
<include ref="English.aslx" />
<include ref="Core.aslx" />
<game name"XXX">
// blah code lines
<attr name="score_integer" type="int">0</attr>
</game>
<turnscript name="winning_the_game_checking_turnscript">
<enabled />
<script><![CDATA[
if (game.score_integer >= 25) {
msg ("You've reached the 25+ score requirement, you've won the game, congratulations!")
finish
} else {
// optional script(s), you really don't need~want an 'else' here, in general anyways
//
// but, here's an example 'else' script that you could use:
//
// points_needed_variable = 25 - game.score_integer
// msg ("You still need " + points_needed_variable + " points to win the game.")
}
]]></script>
</turnscript>
</asl>