subkid 368 B

123456789101112131415
  1. # subkid
  2. if kid > 0:
  3. kidIteration = 1
  4. kidSelected = 0
  5. kidLoops = 0
  6. :loop
  7. kidSelected[kidLoops] = kidIteration
  8. pl '<a href="exec:kidSelected = kidSelected[kidLoops]& gt ''kid'',''start'' ">In the crib lies <<$kidname[kidIteration]>>.</a>'
  9. kidIteration += 1
  10. kidLoops += 1
  11. if kidIteration <= numkid:jump 'loop'
  12. end
  13. --- subkid ---------------------------------