- Removed the extra space when you have no title (thanks Rhade).

- Added "Top of File" to the do_file command (thanks Rhade).
- Removed socials from wizhelp.
- Changed zlist with no arg to list zones.
- Wiznet can now be seen while in OLC, again (thanks Fizban).
- Updated socials, help, changelog, world, and news.
  --Rumble
This commit is contained in:
Rumble
2007-02-24 21:27:57 +00:00
parent 916281ecb0
commit 787c392e0a
11 changed files with 1637 additions and 1596 deletions

View File

@@ -344,7 +344,7 @@ ACMD(do_title)
send_to_char(ch, "Sorry, titles can't be longer than %d characters.\r\n", MAX_TITLE_LENGTH);
else {
set_title(ch, argument);
send_to_char(ch, "Okay, you're now %s %s.\r\n", GET_NAME(ch), GET_TITLE(ch));
send_to_char(ch, "Okay, you're now %s%s%s.\r\n", GET_NAME(ch), *GET_TITLE(ch) ? " " : "", GET_TITLE(ch));
}
}
@@ -1010,6 +1010,8 @@ ACMD(do_file)
len = snprintf(buf, sizeof(buf), "Last %d lines of %s:\r\n", req_lines, fields[l].file);
if (req_lines == num_lines)
len += snprintf(buf + len, sizeof(buf) - len, "Top of file.\r\n");
get_line(req_file,line);
while (!feof(req_file)) {
cur_line++;