Some other useful ATOMs in ZIL

While browsing through the parser.zil code of jmcgrew’s zilf, I found some useful ATOMs that may not have been documented extensively: T and CT

They behave pretty much like D except, it applies the correct article (a, an, the, some). The CT is for capitalizing the article, e.g. A Grue. The sword.

Example

<TELL CT ,PRSO " attacks" CR>
<TELL "You can’t attack " T ,PRSO “!” CR>

I hope anyone finds this useful. Cheers!

6 Likes

Ah yes. T which means True except when it doesn’t. Grr.

This is a very helpful reminder, thank you.

(…and Ghost Stu Galley gleefully drinks more of my frustrated tears…)