what I mean is that it's better, maintenance-wise, to have this code:
#define MSG_TOO_FAR_AWAY m3
if (said("open", "door"))
{
print(MSG_TOO_FAR_AWAY);
}
if (said("get", "key"))
{
print(MSG_TOO_FAR_AWAY);
}
return();
#message 3 "You're not close enough."
than to have this code:
if (said("open", "door"))
{
print("You're not close enough.");
}
if (said("get", "key"))
{
print("You're not close enough.");
}
Because if you want to change the message to something else (e.g., "You're too far away." or "You can't reach it from here."), then the second code can become a maintenance headache while the first is easy to change.