edtutor07.c

skylib_fluffos_v3/mudlib/d/learning/school/getting-started/edtutor/edtutor07.c · 1.0 KB

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

// May's Ed Tutorial for Wizards
// brought to FF on 5 Feb 2001
// brought to Riftwar and modified to work here 7/02/01 - Shaydz

#include "defs.h";
inherit ROOM_OBJ;

void setup(){
  set_light(80);
  set_short("Ed Tutorial 7");
  set_long("   The <d> command is for delete.  If you "
    "just type <d> it will delete the current line.  "
    "You can specify a line to delete by typing <#d> "
    "where # is the line number you want to remove.  You "
    "can also delete a range of lines by typing <start_#,end_#d> "
    "to delete lines start_# to end_#.\n   Remember that if you "
    "want to delete 2 lines and they are not near each other, do "
    "the higher number lines first so you don't change the numbering "
    "order.  For example, if you want to delete line 5 and "
    "line 10, <10d> and then <5d> will work.  <5d> followed by <10d> "
    "will cause you to delete the wrong line when you attempt "
    "to delete line 10 because 5 is already gone.\n");

  add_exit("south",EDTUTOR "edtutor06","path");
  add_exit("north",EDTUTOR "edtutor08","path");
}

Site Stats

Snippets: 1791
Codebases: 571