mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-20 02:21:44 +01:00
Altered previous truncation fix and added OLC setting for the HUH message.
This commit is contained in:
@@ -56,7 +56,7 @@ ACMD(do_masound)
|
||||
|
||||
if (!MOB_OR_IMPL(ch))
|
||||
{
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ ACMD(do_mkill)
|
||||
char_data *victim;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ ACMD(do_mjunk)
|
||||
obj_data *obj_next;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ ACMD(do_mechoaround)
|
||||
char *p;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ ACMD(do_msend)
|
||||
char *p;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ ACMD(do_mecho)
|
||||
char *p;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -290,7 +290,7 @@ ACMD(do_mzoneecho)
|
||||
|
||||
if (!MOB_OR_IMPL(ch))
|
||||
{
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
msg = any_one_arg(argument, room_number);
|
||||
@@ -322,7 +322,7 @@ ACMD(do_mload)
|
||||
int pos;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -423,7 +423,7 @@ ACMD(do_mpurge)
|
||||
obj_data *obj;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -490,7 +490,7 @@ ACMD(do_mgoto)
|
||||
room_rnum location;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -524,7 +524,7 @@ ACMD(do_mat)
|
||||
room_rnum location, original;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -564,7 +564,7 @@ ACMD(do_mteleport)
|
||||
char_data *vict, *next_ch;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -625,7 +625,7 @@ ACMD(do_mdamage) {
|
||||
char_data *vict;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -660,7 +660,7 @@ ACMD(do_mforce)
|
||||
char arg[MAX_INPUT_LENGTH];
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -721,7 +721,7 @@ ACMD(do_mhunt)
|
||||
char arg[MAX_INPUT_LENGTH];
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -763,7 +763,7 @@ ACMD(do_mremember)
|
||||
char arg[MAX_INPUT_LENGTH];
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -814,7 +814,7 @@ ACMD(do_mforget)
|
||||
char arg[MAX_INPUT_LENGTH];
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -873,7 +873,7 @@ ACMD(do_mtransform)
|
||||
int pos;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -986,7 +986,7 @@ ACMD(do_mdoor)
|
||||
};
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1074,7 +1074,7 @@ ACMD(do_mfollow)
|
||||
struct follow_type *j, *k;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1145,7 +1145,7 @@ ACMD(do_mrecho)
|
||||
char start[MAX_INPUT_LENGTH], finish[MAX_INPUT_LENGTH], *msg;
|
||||
|
||||
if (!MOB_OR_IMPL(ch)) {
|
||||
send_to_char(ch, "Huh?!?\r\n");
|
||||
send_to_char(ch, "%s", CONFIG_HUH);
|
||||
return;
|
||||
}
|
||||
msg = two_arguments(argument, start, finish);
|
||||
|
||||
Reference in New Issue
Block a user