follow command with no arguments reports leader (when already following) (#7)
This commit is contained in:
@@ -940,8 +940,13 @@ ACMD(do_follow)
|
|||||||
send_to_char(ch, "%s", CONFIG_NOPERSON);
|
send_to_char(ch, "%s", CONFIG_NOPERSON);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (ch->master != (char_data*) NULL) {
|
||||||
|
send_to_char(ch, "You are following %s.\r\n",
|
||||||
|
GET_NAME(ch->master));
|
||||||
} else {
|
} else {
|
||||||
send_to_char(ch, "Whom do you wish to follow?\r\n");
|
send_to_char(ch, "Whom do you wish to follow?\r\n");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user