Manual:DIL Examples
General Considerations
Every DIL program has the following structure:
dilbegin programname(); var code {} dilend
It's nice to think about dils in different categories.
Every dil must run on an object. That object is always going to be 'self' to the program.
It will be running from one of the following things:
- A room
- A mobile (npc)
- A player
- An object (thing)
Keeping this in mind will help with your program's construction. You can also use dot notation to reference objects relative to the dil or the objects it interacts with.
Take self.outside
and we'll look at it from each of the object types.