Here are some real AGI source examples:
if (could.buy.toy.horse)
{
animate.obj( a.toy.horse); [ middle
position( a.toy.horse, 40, 108);
set.view( a.toy.horse, v.pg.toy.horse);
draw( a.toy.horse);
}
------------------
if (next.frame)
{
reset( next.frame);
if (could.buy.swing && !has( i.swing))
{stop.update( a.swing);}
if (could.buy.spaceship.ladder && !has( i.spaceship.ladder))
{stop.update( a.spaceship.ladder);}
if (could.buy.rings && !has( i.rings))
{stop.update( a.rings);}
if (could.buy.toy.horse && !has( i.toy.horse))
{stop.update( a.toy.horse);}
if (could.buy.tetherball.pole && !has( i.tetherball.pole))
{stop.update( a.tetherball.pole);}
if (could.buy.parallel.bars && !has( i.parallel.bars))
{stop.update( a.parallel.bars);}
}
------------------
[ Skulls-a-poppin'
random( 0, 4, cell);
loop = 0;
view = 245;
if (cell < 2)
{
random(1, 140, x);
random(90, 110, y);
add.to.pic.f(view, loop, cell, x, y, priority, box);
}
------------------
if ((said( talk, man) ||
said( ask, biker))) {
if ( nearPerson) {
print( 15); [ "The man in black says, \"We don't
}
else {
print( 13);
}
}