blob: bdb1fb264c6cc3a57232926f86a2c77792721c5c [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 varargs int id(string str, int lvl);
3
4DESCRIPTION
5 Let the object identify itself. If str matches an id of the
6 current object then return a none zero value.
7
8 This lfun is applied for the efun present().
9
10EXAMPLE
11 int id(string str) {
12 return "sword" == str || "sword of fire" == str;
13 }
14
15SEE ALSO
16 present(E)
17 id(L)