Go up to Fundamentals of Object Oriented Programming (OOP)
Go forward to Examining Objects

Referencing Objects

Everything in the ColdCore is an object. Players, places, exits, editors, even the program that reads in your input; they are all objects. Each object has an associated  Object Name, which is a (hopefully) unique identifier for that object. You can reference an object by its VR Name, alias, or Object Name. For example, in my core (Imaginarium), my character's name is zeppy. To look at me you could type look at zeppy (my VR name), look at Neale (one of my aliases), or look at $player_zeppy (my object name). You will always get the same result.

 @rename <object> [to] <new_name> [*proper, *unique, *normal]


Neale Pickett <zephyr@nmt.edu>

Up Next