From Jeff.Bone@EBay.Sun.COM Sun Feb 23 01:44:13 1992
Received: by hussar (5.57/ULTRIX-fma-071791);
id AA10318; Sun, 23 Feb 92 01:44:12 -0500
Received: from EBay.Sun.COM (female.EBay.Sun.COM) by Sun.COM (4.1/SMI-4.1)
id AA27407; Sat, 22 Feb 92 22:42:51 PST
Received: from lilith.EBay.Sun.COM by EBay.Sun.COM (4.1/SMI-4.1)
id AA18298; Sat, 22 Feb 92 22:46:41 PST
Received: by lilith.EBay.Sun.COM (4.1/SMI-4.1)
id AA00767; Sat, 22 Feb 92 22:49:13 PST
Date: Sat, 22 Feb 92 22:49:13 PST
From: Jeff.Bone@EBay.Sun.COM (Jeff Bone)
Message-Id: <9202230649.AA00767@lilith.EBay.Sun.COM>
To: untermud@hussar.dco.DEC.COM
Subject: A Goodie
Status: R
Note: the finger_ok attr is a boolean, BUT it has to be tested like a
string. Why? I dunno, and if you care, you are being anal. ;)
mudconfig defUmac finger = {
foreacharg $f {
$tmp = matchWHO($f);
if ($tmp) {
if ($tmp.finger_ok == "T") {
echo($tmp.nam + " is currently in " + $tmp.loc.nam);
if ($tmp.plan) {
echo("Plan:");
echo(" " + $tmp.plan);
};
} else {
echo($tmp.nam + " does not wish to be located.");
};
} else {
echo("No one named " + $f + " is logged on.");
};
};
};
_mudconfig privmac finger sysobj