MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
2 | varargs int id(string str, int lvl); | ||||
3 | |||||
4 | DESCRIPTION | ||||
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 | |||||
10 | EXAMPLE | ||||
11 | int id(string str) { | ||||
12 | return "sword" == str || "sword of fire" == str; | ||||
13 | } | ||||
14 | |||||
15 | SEE ALSO | ||||
16 | present(E) | ||||
17 | id(L) |