Changeset 1280
- Timestamp:
- 09/23/08 13:07:59 (2 months ago)
- Files:
-
- 1.8.3/trunk/game/txt/hlp/pennfunc.hlp (modified) (6 diffs)
- 1.8.3/trunk/game/txt/hlp/penntop.hlp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/trunk/game/txt/hlp/pennfunc.hlp
r1278 r1280 515 515 See also: ANSI, COLOR 516 516 & APOSS() 517 & %a 517 518 aposs(<object>) 518 519 519 520 Returns the absolute possessive pronoun - his/hers/its/theirs - 520 for an object. 521 for an object. The %a substitution returns the absolute possessive 522 pronoun of the enactor. 521 523 & ART() 522 524 art(<string>) … … 2945 2947 See also: lwho(), mwho(), xwho(), xmwho() 2946 2948 & OBJ() 2949 & %o 2947 2950 obj(<object>) 2948 2951 2949 Returns the objective pronoun - him/her/it - for an object. 2952 Returns the objective pronoun - him/her/it - for an object. The %o 2953 substitution will return the objective pronoun of the enactor. 2950 2954 & OBJEVAL() 2951 2955 objeval(<object>, <expression>) … … 3155 3159 3156 3160 & POSS() 3161 & %p 3157 3162 poss(<object>) 3158 3163 3159 Returns the possessive pronoun - his/her/its - for an object. 3164 Returns the possessive pronoun - his/her/its - for an object. The %p 3165 substitution also returns the possessive pronoun of the enactor. 3160 3166 & POWER() 3161 3167 power(<number>, <exponent>) … … 4224 4230 Sub() subtracts the second number from the first. 4225 4231 & SUBJ() 4232 & %s 4226 4233 subj(<object>) 4227 4234 4228 Returns the subjective pronoun - he/she/it - for an object. 4235 Returns the subjective pronoun - he/she/it - for an object. You can also 4236 use the %s substitution to get the subjective pronoun of the enactor. 4229 4237 & RESWITCH() 4230 4238 & RESWITCHI() … … 4746 4754 & V() 4747 4755 & V-FUNCTION 4748 V(<name of attribute>)4749 V(<variable name>)4756 v(<name of attribute>) 4757 v(<variable name>) 4750 4758 4751 4759 The first form of this function works just like get(me/<attribute name>). … … 4754 4762 4755 4763 The second form of this function provides a different way of getting the 4756 results of %-substitutions like %#, %N, %0, etc. Simply take the variable4757 name(whatever follows the % symbol) and put it inside the v() function:4764 results of some %-substitutions like %#. Simply take the variable name 4765 (whatever follows the % symbol) and put it inside the v() function: 4758 4766 4759 4767 v(N) is equivalent to %N 4760 4768 v(!) is equivalent to %! 4761 4769 v(3) is equivalent to %3 4770 4771 This can only be used for %#, %!, %@, %0-%9, %L, %N and %C. Unlike the 4772 %-substitutions, case does not matter in v() - v(n) and v(N) are both 4773 equivilent to %n (whereas %N is equivilent to [capstr(%n)]). 4762 4774 4763 4775 See also: SUBSTITUTIONS, get(), ATTRIBUTES 1.8.3/trunk/game/txt/hlp/penntop.hlp
r1278 r1280 1624 1624 %~ = the ENACTOR's accented name 1625 1625 %: = the enactor's unique identifier, like objid(%#) 1626 1627 Case makes a difference in all substitutions; capitalizing the first letter 1628 after the % will capitalize the first letter of the resulting substitution. 1626 1629 1627 1630 (continued in help SUBSTITUTIONS2) … … 1630 1633 If the ENACTOR's gender is set, you can use these substitutions to get the 1631 1634 right pronoun for him/her: 1632 %s = subjective pronoun: he, she, it, they 1633 %o = objective pronoun: him, her, it, them 1634 %p = possessive pronoun: his, her, its, their 1635 %a = absolute possessive: his, hers, its, theirs. 1635 %s = subjective pronoun: he, she, it, they. Same as subj(%#) 1636 %o = objective pronoun: him, her, it, them. Same as obj(%#) 1637 %p = possessive pronoun: his, her, its, their. Same as poss(%#). 1638 %a = absolute possessive: his, hers, its, theirs. Same as aposs(%#). 1636 1639 1637 1640 Case makes a difference: %S will return He, She, It, They. If you need … … 1649 1652 %@ = the caller's dbref number. Initially same as %#, changes when 1650 1653 something like a U-FUNCTION is called. 1651 %! = the dbref number of the object the command is on .1652 %L = the dbref of the ENACTOR's location .1653 %c = text of the last command, _before_ evaluation .1654 %u = text of the last $command, after evaluation, available to locks .1655 %? = The current function invocation and depth counts .1654 %! = the dbref number of the object the command is on (the EXECUTOR) 1655 %L = the dbref of the ENACTOR's location 1656 %c = text of the last command, _before_ evaluation 1657 %u = text of the last $command, after evaluation, available to locks 1658 %? = The current function invocation and depth counts 1656 1659 %+ = The number of arguments passed to the current ufun. 1657 1660 %qN = the equivalent of r(N), a register set by a setq() function. … … 1678 1681 %L = #13 1679 1682 1680 See also: EVALUATION, ENACTOR, EXECUTOR, DBREFS, v()1683 See also: EVALUATION, ENACTOR, EXECUTOR, DBREFS, REGISTERS, v() 1681 1684 & SUCCESS 1682 1685 A "success" normally occurs when you attempt to do something that is
