Documentation

#TYPE

TYPE

Syntax: #TY filenum pattern
Related: #FILE

If pattern is omitted, the entire contents of the numbered file are displayed on the screen (starting from the current position of the file). If pattern is given, only lines matching the pattern are displayed. Pattern can contain full pattern-matching commands.

TYPE examples

#FILE 1 mudlist.txt
#TYPE 1
displays the entire contents of the file mudlist.txt to the screen

#TYPE 1 castle


only displays lines from mudlist.txt containing the word castle

Add comment

Login or register to post comments