-
Notifications
You must be signed in to change notification settings - Fork 0
@verb
@verb (continued)
here is a description of the arguments to @verb:
victim - the object that is searched for attributes, and which runs the <awhat> attribute if it is found.
actor - the object that 'did' the verb, this is the value for %#/%n/etc in substitutions, and this object's name is included in the message to others in the same location.
what - the name of the attribute containing the message to be delivered to the actor.
whatd - the message to deliver to the actor if the victim does not have a <what> attribute, or if it cannot be read.
owhat - the name of the attribute containing the message that is sent to everyone in the room with the actor. the message is prefixed by the actor's name unless no_name flag is present on the attribute.
owhatd - the message to deliver to others in the room with the actor if the victim does not have an <owhat> attribute, or it cannot be read. the message is prefixed by the actor's name unless /no_name switch is specified.
awhat - the name of the attribute that is to be executed by the victim.
args - the comma-separated arguments to be passed for substitution (%0-%9). if there is more than one argument, enclose all the arguments within curly braces. any argument that contains an embedded comma needs to be enclosed in curly braces as well.
{ 'help @verb3' for more }
@verb (continued)
examples: > &xtest test1=you just xtested test1. > &oxtest test1=just xtested test1. > &axtest test1="i was xtested. yikes. arg1=%0, arg2=%1, arg3=%2. > @verb test1=me,xtest,xtest dflt,oxtest,oxtest dflt,axtest,{a,b c,de} you just xtested test1. test1 says "i was xtested. yikes. arg1=a, arg2=b c, arg3=de." > &xtest test1 > @verb test1=me,xtest,xtest dflt,oxtest,oxtest dflt,axtest,{a,b c,de} xtest dflt test1 says "i was xtested. yikes. arg1=a, arg2=b c, arg3=de." > @fo test1={@verb test1=me,xtest,xtest d,oxtest,oxtest d,axtest,{a,b,de}} test1 just xtested test1. test1 says "i was xtested. yikes. arg1=a, arg2=b, arg3=de."
related topics: locate().