Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.
I thinks I must have been mixing up the local array which uses .len() with some AI piece that uses .Count(). I was using both types and trying each method on both, when they each need their own.