Logged in as Nobody

Vote for Us

Epitaph Help

Categories

Concepts Creator Commands Creator Tutorials Games Innate Commands Known Commands
Lord Npc Objects Playtesters Rooms Rules

Ogrep

Description

The 'grep' command, which lets you find a string in a file, only allows you to specify a file name to search in. 'ogrep' allows you to input an object instead - the search will be done in the object's file. The 'inh' syntax will not only look in the object's file, but in the file names of all the objects in the object's inheritance tree. This can be useful for e.g. finding which of an object's inherits produces a certain message.

Example

> ogrep add_skill_level in inh me
> ogrep spelunking in inh here

Syntax Forms

ogrep <grep string> in <object> 
ogrep <grep string> in inh <object> 
Copyright Statement

Epitaph - Epiphany v1.2.13 [release]. Copyright © Imaginary Realities Ltd 2009 -