| 131 | | alias() andflags() andlflags() config() controls() |
|---|
| 132 | | ctime() elock() findable() flags() fullalias() |
|---|
| 133 | | fullname() hasattr() hasattrp() hasflag() haspower() |
|---|
| 134 | | hastype() iname() lflags() lock() lstats() |
|---|
| 135 | | money() mtime() mudname() name() nattr() |
|---|
| 136 | | nearby() objid() objmem() orflags() orlflags() |
|---|
| 137 | | playermem() poll() powers() quota() restarts() |
|---|
| 138 | | type() version() visible() |
|---|
| 139 | | |
|---|
| | 131 | alias() andflags() andlflags() andlpowers() config() |
|---|
| | 132 | controls() ctime() elock() findable() flags() |
|---|
| | 133 | fullalias() fullname() hasattr() hasattrp() hasflag() |
|---|
| | 134 | haspower() hastype() iname() lflags() lock() |
|---|
| | 135 | lstats() money() mtime() mudname() name() |
|---|
| | 136 | nattr() nearby() objid() objmem() orflags() |
|---|
| | 137 | orlflags() orlpowers() playermem() poll() powers() |
|---|
| | 138 | quota() restarts() type() version() visible() |
|---|
| | 465 | & ANDLPOWERS() |
|---|
| | 466 | andlpowers(<object>, <list of powers>) |
|---|
| | 467 | |
|---|
| | 468 | This function returns 1 if <object> has all the powers in a |
|---|
| | 469 | specified list, and 0 if it does not. The list is a space-separated |
|---|
| | 470 | list of power names. A '!' preceding a flag name means "not power". |
|---|
| | 471 | |
|---|
| | 472 | Thus, ANDLPOWERS(me, no_quota no_pay) would return 1 if I was |
|---|
| | 473 | powered no_quota and no_pay. ANDLPOWERS(me, poll !guest) would |
|---|
| | 474 | return 1 if I could change the poll and was not a guest. |
|---|
| | 475 | |
|---|
| | 476 | If a name does not correspond to any power, <object> doesn't have |
|---|
| | 477 | it, so the function returns 0. There can be an arbitrary number of |
|---|
| | 478 | powers. |
|---|
| | 2916 | & ORLPOWERS() |
|---|
| | 2917 | orlpowers(<object>, <list of powers>) |
|---|
| | 2918 | |
|---|
| | 2919 | This function returns 1 if <object> has at least one of the powers |
|---|
| | 2920 | in a specified list, and 0 if it does not. The list is a |
|---|
| | 2921 | space-separated list of power names. A '!' preceding a flag name |
|---|
| | 2922 | means "not power". |
|---|
| | 2923 | |
|---|
| | 2924 | Thus, ORLPOWERS(me, poll login) would return 1 if I have the poll |
|---|
| | 2925 | and login powers. ORLFLAGS(me, functions !guest) would return 1 if I |
|---|
| | 2926 | have the functions power or are not a guest. |
|---|
| | 2927 | |
|---|
| | 2928 | If a name does not correspond to any power, <object> doesn't have |
|---|
| | 2929 | it, so it is simply ignored. There can be an arbitrary number of |
|---|
| | 2930 | powers. |
|---|